原创 matplotlib畫堆疊條形圖/柱狀圖

import numpy as np import matplotlib.pyplot as plt y1 = np.array([68.03, 68.83, 93.53, 70.67, 87.70, 91.04, 68.42,

原创 對Faster R-CNN的理解

一定要看這兩篇文章 https://www.cnblogs.com/Terrypython/p/10584384.html https://zhuanlan.zhihu.com/p/31426458

原创 C++ 實現冒泡排序與vector初始化方法

C++ 實現冒泡排序 #include<iostream> #include<vector> using namespace std; void bubblesort(vector<int> &nums) { int i =

原创 ubuntu16.04安裝使用YouTube-DL和Youtube-dl GUI

參考文章:https://www.linuxidc.com/Linux/2018-01/150362.htm 一、介紹 Youtube-dl 是一個自由開源的命令行視頻下載工具,可以用來從 Youtube 等類似的網站上下載視頻

原创 製作gif動圖

去百度雲下載這個軟件即可 鏈接:https://pan.baidu.com/s/1YEWijVEffdNNYw6s5aq6gA 提取碼:r00u

原创 C++筆試輸入輸出

注意:>> 是會過濾掉不可見字符(如 空格 回車,TAB 等) cin.get(字符變量名)可以用來接收字符 1、輸入數據包括多組。 每組數據一行,每行的第一個整數爲整數的個數n(1 <= n <= 100), n爲0的時候結束輸

原创 numpy對數組的操作

import numpy as np thresh = 0.8 dets = np.array([[100,100,200,200,0.8], [300,300,400,400,0.75],

原创 C++實現馬拉車算法(用於求最大回文子串)

參考文章:https://blog.csdn.net/dyx404514/article/details/42061017 參考文章:https://www.cnblogs.com/grandyang/p/4475985.html

原创 numpy中np.maximum的使用

np.maximum(X, Y, out=None) X和Y逐位進行比較,選擇最大值,最少接受兩個參數。 >>> np.maximum([2, 3, 4], [1, 5, 2]) array([2, 5, 4]) >>> np.

原创 Batch Normalization學習筆記(Batch Normalization簡單理解)

本文經機器之心(微信公衆號:almosthuman2014)授權轉載,禁止二次轉載。 文章鏈接如下: 文章鏈接:https://mp.weixin.qq.com/s/uQUUI9G10SOUQwvYqG78Mg 0前言 Batc

原创 np.where的使用

參考博客:https://www.cnblogs.com/massquantity/p/8908859.html np.where(condition) 只有條件 (condition),沒有x和y,則輸出滿足條件 (即非0)

原创 C++實現棧與C++實現隊列

參考博客:https://blog.csdn.net/zhy_cheng/article/details/8090346 使用標準庫的棧和隊列時,先包含相關的頭文件 #include<stack> #include<queue>

原创 python實現NMS算法

參考博客:https://blog.csdn.net/hongxingabc/article/details/78996407 import numpy as np thresh = 0.6

原创 LeetCode刷題分類

以下代碼都來自該博客: 博客鏈接:https://www.cnblogs.com/grandyang/p/4606334.html 一、迴文串相關 //驗證是否爲迴文字符串(125) class Solution { publi

原创 C++實現二叉樹中序遍歷以及棧的使用

遞歸實現 //二叉樹的定義 struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) :