原创 Mac跑tensorflow版SSD
1,安裝virtual sudo easy_install pip pip install --upgrade virtualenv 2,創建和激活虛擬環境 virtualenv ~/tensorflow source ~/te
原创 Tensorflow各種配置
1,節省內顯存: 在tf.Session加入: config = tf.ConfigProto() config.gpu_options.allow_growth=True sess = tf.Session(config=co
原创 Mac安裝sci-image報錯
當提示權限不允許時候嘗試加個–user sudo -H pip install scikit-image --ignore-installed six --user then: sudo pip install scikit-im
原创 SSD移植
1,報錯Check failed: label < num_classes (5 vs. 5) 打開train_tv_logo.prototxt搜索num_classes改爲9(8classes+1) 2,報錯Check fa
原创 ubuntu E: 無法獲得鎖 /var/lib/dpkg/lock - open (11: 資源暫時不可用) E: 無法鎖定管理目錄(/var/lib/dpkg/),是否有其他進程正佔用它?
sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock sudo dpkg --configure -a
原创 集羣上跑RL PONG
1,在集羣上安裝tensorflow: 先創建virtualenv,然後安裝,但是,安裝的版本較高import時候會出現 ImportError: libcublas.so.8.0: cannot open shared ob
原创 安裝opencv-python時候報錯
Operation not permitted: ‘/var/folders 執行: sudo pip install --user opencv-python brew install opencv export PYTHONP
原创 coco dataset solve
1,下載數據集cocodataset.org 2,download cocoapi: https://github.com/cocodataset/cocoapi 3,install and open jupyter not
原创 Git配置
https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
原创 前向傳播與反向傳播代碼
前向傳播與反向傳播代碼: 設 train Set= [(-0.5,12,0),(0.5,13.2,1),(0.8,8,0),(1,9,1),(1.3,6.5,1),(1.5,5,1),(1.7,3,0),(2.0,1.5,0),
原创 樹莓派部署caffe模型
1,fatal error: pyconfig.h: No such file or directory export CPLUS_INCLUDE_PATH=/usr/include/python2.7 2,/usr/bin/ld
原创 cs231n作業配置
參考:https://zhuanlan.zhihu.com/p/21441838?refer=intelligentunit 1, cd assignment1 sudo pip install virtualenv
原创 caffe預測單張圖片
https://github.com/BVLC/caffe/issues/2304 https://github.com/BVLC/caffe/issues/566 ../build/tools/caffe test -mode
原创 TMUX CAFFE等小技巧
1,tmux是安裝在服務器上,用來保存會話,與ssh無關 tmux new -s kylefan 這樣就新建了一個id爲kylefan的會話,關上本地電腦還可以重新連上: tmux a -t kylefan 這樣就在服務器