原创 python的numpy庫打亂數據集的實現
import numpy as np data = np.load('data.npy') # 數據集 rng = np.random.RandomState(2019) ind_shuf = list(
原创 日語 N2 考試 時間分配、分值
以下爲大致的情況,具體情況每場考試會有一些出入。 文章目錄日語N2考試(總分180,時間共約3.5小時)1:00 進入考場1:30 語言知識部分開始答題第一部分 詞彙、語法(59分,43分鐘)問題1 漢字讀音(5分)問題2 漢字書
原创 matplot顏色選擇
https://www.cnblogs.com/darkknightzh/p/6117528.html
原创 Document Modeling with Gated Recurrent Neural Network for Sentiment Classification 論文閱讀筆記
Paper: Document Modeling with Gated Recurrent Neural Network for Sentiment Classification Author: Duyu Tang, et al.
原创 ...weights already exists, disallowed. Did you mean to set reuse=True...(解決辦法)
出錯原因是TensorFlow的變量名被重新定義了。 解決: 1 若想要繼續使用並共享當前的TensorFlow模型結構或變量: 按照報錯的提示信息加上reuse=True,例如: with tf.variable_scope("
原创 卷積神經網絡參數數量的計算和佔用顯存的比例
先看一下: https://blog.csdn.net/qian99/article/details/79008053 1 計算參數的數量 2 GPU顯存使用圖示 3 GPU顯存使用計算
原创 深度學習 tensorflow中的padding:valid和same
1 TensorFlow給出的定義 The TensorFlow Convolution example gives an overview about the difference between SAME and VALID :
原创 pycharm下設置anaconda環境設置
1 下載安裝anaconda和pycharm 過程不贅述,自行百度。 2 anaconda創建虛擬環境 https://blog.csdn.net/qq_38262728/article/details/88718856 3 設置環境
原创 Ubuntu壓縮和解壓rar等文件
終端,命令: sudo apt-get install rar sudo apt-get install unrar sudo apt-get install p7zip-rar sudo apt-get install p7z
原创 conda下載慢,清華鏡像網址
運行以下命令: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_
原创 Ubuntu下安裝pycharm
步驟 1 下載 去官網找到Linux版本的pycharm並下載。 http://www.jetbrains.com/pycharm/ 2 解壓 右擊下載的文件,提取到此處將其解壓。 3 安裝 中斷cd到解壓後的文件的bin目錄下。 看
原创 Windows Ubuntu 雙系統安裝教程
參考:http://www.cnblogs.com/Duane/p/6776302.html
原创 Generative Adversarial Nets 論文閱讀筆記
Paper: Generative Adversarial Nets Author: Ian J. Goodfellow et al. Publication: 2014, NIPS 文章目錄1 背景2 創新點3 核心方法4 理論推
原创 windows系統安裝anaconda(包括老版本)
1 下載 最新版本官網下載(注意3.7以上的Python無法運行TensorFlow哦): https://www.anaconda.com/distribution/ 老版本下載的清華鏡像網址: https://mirrors.tu
原创 from __future__ import division 使用
在python2中,整數的除法是結果向下取整的。 所以若想要計算精確的計算結果,需要加入from future import division。 而python3以上的版本無需此操作。