原创 python2 python3 TypeError: unsupported operand type(s) for /: 'dict_values' and 'int'

plot繪製各種曲線的程序,在python27下運行正常,到python35下 提示出現這個錯誤: TypeError: unsupported operand type(s) for /: 'dict_values' and 'int'

原创 gan中模式崩塌

What is mode collapse? Most interesting real-world data distributions are highly complex and multimodal. That is to say

原创 簡單的交叉熵損失函數,

https://blog.csdn.net/red_stone1/article/details/80735068轉載。 說起交叉熵損失函數「Cross Entropy Loss」,腦海中立馬浮現出它的公式: L=−[ylog y^+(1

原创 python3使用pickle讀取文件提示TypeError或者UnicodeDecodeError的解決辦法

一、分割數據成train和test 代碼: # data segmentation code  # resize  origin code to match classifier model  and split the data se

原创 resnet tensorflow 代碼分析

https://github.com/chaipangpang/ResNet_cifar參考 下面有詳細代碼分析: main.py # Copyright 2016 The TensorFlow Authors. All Rights R

原创 Tensorflow學習:ResNet代碼(詳細剖析)

https://blog.csdn.net/superman_xxx/article/details/65452735 https://blog.csdn.net/qq_29893385/article/details/81207203

原创 SSGF-for-HRRS-scene-classification-master程序執行中caffe相關內容配置

/home/sys1710/anaconda3/envs/python27/bin/python2.7 /home/sys1710/PycharmProjects/guo/SSGF-for-HRRS-scene-classificatio

原创 tensorlayer和tensorflow版本對應問題

tensorlayer需要和對應的tensorfolw版本一致 比如 tensorflow-gpu1.4.1  tensorlayer 1.4.1  如果是 tensorflow不帶gpu的,注意版本    pip install --u

原创 使用Pytorch的常見錯誤彙總 gan-based-HRRS-Sample-Generation-for-image-classification-master代碼中的問題

ucm數據集中圖像大小不全是256*256的 ,有253*256的導致處理時候遇到問題。如何解決呢? 現在 d盤 下 可運行tensorflow下train文件夾下的圖像全部是256*256. 那些年我們一起踩過的坑! 文章目錄 那些年我

原创 Spectral-Spatial Residual Network for Hyperspectral Image Classification--SSRN代碼執行問題

論文:Spectral-Spatial Residual Network for Hyperspectral Image Classification: A 3-D Deep Learning Framework 代碼 SSRN。路徑首先

原创 使用Anaconda安裝caffe

pycharm中 ImportError: No module named caffe  首先,需要看下在命令行能不能import caffe 先CTRL+ALT+T打開終端 python                 %打開pyth

原创 Caffe研究實踐 ---環境搭建

一、cpu上的操作: sudo apt-get update #更新軟件列表  安裝後續步驟或環境必需的依賴包,依次輸入以下命令: sudo apt-get install libprotobuf-dev libleveldb-dev l

原创 tensorlayer安裝

對應有tensorflow才行。 pip install tensorflow-gpu # GPU 版本 (二選一) pip install tensorlayer # 之後安裝 TensorLayer 框架 需要tensor

原创 ubuntu取消http_proxy設置

之前用過latern的代理,後來因爲一些原因不能用了(認真臉),然後就卸載了latern。後來就出現了一系列蛋疼的事。 1.使用 sudo apt-get update 命令時,發現給出很多Ign 語句,出現 Retrying (Retr

原创 Object Detection(目標檢測神文)

https://blog.csdn.net/hw5226349/article/details/81906882?utm_source=blogxgwz5   目標檢測神文,非常全而且持續在更新。轉發自:https://handong15