原创 【論文閱讀】Region Proposal by Guided Anchoring

論文地址:https://arxiv.org/abs/1901.03278v2 論文看了,很好,有空再補筆記

原创 pytorch-CPN代碼遇到的問題

1. image = scipy.misc.imread(img_path, mode='RGB') AttributeError: 'module' object has no attribute 'imread'  原因:Sci

原创 原 PyTorch學習之六個學習率調整策略.圖示

How to adjust Learning Rate torch.optim.lr_scheduler.LambdaLR torch.optim.lr_scheduler.StepLR torch.optim.lr_schedul

原创 【pytorch】torch.utils.data.DataLoader中的pin_memory屬性

原文:https://blog.csdn.net/tsq292978891/article/details/80454568  原文:https://blog.csdn.net/tfcy694/article/details/832707

原创 self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory Process finished with exit code 137

The solution is either to make the pools earlier, when less memory needs to be copied, or to work harder at sharing the

原创 torch.autograd.Variable(target.cuda(async=True)) ---用async調用cuda()出現 SyntaxError: invalid syntax

 又比如: ./projects/personachat/persona_seq2seq.py:2220:43: E999 SyntaxError: invalid syntax self.zs.

原创 從Inception v1,v2,v3,v4,RexNeXt到Xception再到MobileNets,ShuffleNet,MobileNetV2

分類任務精度: ShuffleNet v2 ≥MobileNet v2 > ShuffeNet v1 > Xception 檢測任務精度: ShuffleNet v2 > Xception ≥ ShuffleNet v1 ≥ Mobile

原创 pytorch判斷兩個Tensor是否相等

print('\n**************isinstance(x_old,x)******************\n',[x==x_old]) # 同緯度的 #這裏會對應位置的不相等和相等會輸出0,1 print('\n****

原创 Group Convolution分組卷積,以及Depthwise Convolution和Global Depthwise Convolution

Group Convolution分組卷積,以及Depthwise Convolution和Global Depthwise Convolution 轉於: https://blog.csdn.net/firelx/article/det

原创 歸一化和標準化

1.總結: 作用: 歸一化後加快了梯度下降求最優解的速度; 歸一化有可能提高精度。 防止梯度消失或爆炸 常見: 最值歸一化。比如把最大值歸一化成1,最小值歸一化成-1;或把最大值歸一化成1,最小值歸一化成0。適用於本來就分佈在有限範圍

原创 Pycharm Tips of day 翻譯、使用技巧( 啓動界面彈出Tips)、部分。

(每次都不同,選有用的整理一下) Ctrl+C          不選中會複製整行; Ctrl + D        直接跟着複製粘貼選中的代碼,當前行或當前塊,若沒有選中任何代碼,將複製光標所在整行代碼; Ctrl + F       

原创 pytorch指定層凍結。初始化權重

PyTorch的Module.modules()和Module.children()  在PyTorch中,所有的neural network module都是class torch.nn.Module的子類,在Modules中可以包含其

原创 maskrcnn_benchmark-----Step-by-step tutorial 如何訓練自己的數據集以及finetune

https://github.com/facebookresearch/maskrcnn-benchmark/issues/521  稍後實驗改正 記錄方法一: Steps 1) COCO format 將自己的數據集按照coco官方形

原创 總結-空洞卷積(Dilated/Atrous Convolution)、gridding問題以及解決方案、訓練技巧BN和PReLU、CReLU

https://zhuanlan.zhihu.com/p/50369448 https://www.zhihu.com/question/54149221/answer/192025860 注意:解決辦法大概就是:使得卷積前後的每組結果能

原创 Ubuntu終端命令--查看端口占用及關閉

轉的也是別人轉的,他沒寫作者地址。 Ubuntu查看端口使用情況,使用netstat命令: 1、查看已經連接的服務端口(ESTABLISHED) netstat -a 2、查看所有的服務端口(LISTEN,ESTABLISHED) ne