原创 tensorflow隱藏編譯警告SSE4.2 and AVX instructions

在使用tensorflow遇到SSE4.2 and AVX instructions編譯警告時,可以添加下面代碼隱藏警告 To hide those warnings, you could do this before your

原创 HEAD, ORIG_HEAD, FETCH_HEAD, MERGE_HEAD標誌

HEAD: The current ref that you’re looking at. In most cases it’s probably refs/heads/master 當前目錄下最近的一次commit FETCH

原创 【神經網絡理論】泛化性

Understanding deep learning requires rethinking generalization (zhang. 2017) 作者做了一個測試,用隨機label標註數據,發現網絡對訓練集仍有效果,(網絡具

原创 [Pytorch] 參數保存剖析

一般Pytorch會將訓練好的模型保存至 xxx.pth 文件中 常用命令: torch.load() torch.save() 詳細解剖其內部: .pth 文件實質上是一個簡單的字典文件 module.features.0.we

原创 [Tensorflow] 參數保存剖析

在tf.global_variables() 裏可以看到所有參數 print( tf.global_variables() ) print( sess.run(tf.global_variables() ) 顯示其中的數值 這裏的名

原创 tf.slim使用方法

首先要導入slim: from tensorflow.contrib import slim TF-slim主要由下面幾個組成: arg_scope data evluation layers learning losses

原创 .gitignore Failed to ignore

Common method is git rm -r --cached . git add . git commit -m '' but when uploading , big files are still carried by gi

原创 pycharm 啓動導入 tensorflow 失敗問題

遇到一個奇怪的問題: 環境: Ubuntu 16.04 tensorflow 1.9.0 tensorflow安裝無誤,並可以在命令行啓動,但是在Pycharm中報錯: ImportError: libcublas.so.9.0

原创 Tensorflow編譯相關

clang 編譯器: clang是LLVM編譯器工具集的一個用於編譯C、C++、Objective-C的前端。LLVM項目的目標是提供一個GNU編譯器套裝(gcc)的替代品,由蘋果公司的贊助開發,其源代碼授權採用的是類BSD的伊利諾伊大學

原创 論文SDP + RCNN | Exploit All the Layers: Fast and Accurate CNN Object Detector with SDP and CRC

Abstract 本文提出了兩種目標檢測的措施,兼具精度與效率:1.scale-dependent pooling (精度)2. layer wise casaded rejection classifiers(效率) 1 Introdu

原创 Git 中.gitignore 使用和.gitignore 無效的解決方法

.gitignore只能忽略那些原來沒有被 track 的文件,如果某些文件已經被納入了版本管理中,則修改 .gitignore 是無效的。 解決方法是先把本地緩存刪除,然後再提交。 git rm -r --cached . g

原创 關於Bias的問題 Should the convolution layers have biases?

You can access to [https://github.com/KaimingHe/deep-residual-networks/issues/10#issuecomment-194037195] 在復現WRN網絡時,發現Re

原创 【OpenCV】踩過的坑

cv2.imread() 讀取後的圖片文件的格式爲 np.ndarray np.uint8 格式 所以處理圖片後如果無法顯示,需要轉換格式 x.astype(np.unit8) (不是np.int 或 int)

原创 目標檢測最新進展(SSD,RCNN等最新發展)

【未完待續】 【目錄】 SSD: RetinaNet FSSD (Feature Fusion Single Shot Multibox Detector) RFBNet (Receptive Field Block Net) R-

原创 [tensorflow]sparse_softmax_cross_entropy_with_logits 與 softmax_cross_entropy_with_logits的區別

原函數: tf.nn.sparse_softmax_cross'_entropy_with_logits(logits=net, labels=y) tf.nn.softmax_cross_entropy_with_logits(lo