發表文章

tensorflow gpu版本 安裝教學 window 10 python 3.6

圖片
tensorflow教學:https://www.tensorflow.org/install/install_windows#CommonInstallationProblems 安裝python python安裝位置: https://www.python.org/downloads/release/python-362/ 選擇python 3.6版本,下載安裝 設置path C:\Users\user\AppData\Local\Programs\Python\Python36-32 C:\Users\im\AppData\Local\Programs\Python\Python36-32\Scripts 進入cmd 輸入python,顯示版本及完成 利用anaconda安裝tensorflow anaconda安裝位置: https://www.anaconda.com/download/#windows 選擇Anaconda 5.0.1 For Windows Installer Python 3.6 version 版本安裝 進入cmd 輸入建立一個名為"tensorflow"的空間 C:> conda create -n tensorflow python=3.6 進入tensorflow環境 C:> activate tensorflow 安裝tensorflow gpu版本 (tensorflow)C:> pip install tensorflow-gpu CUDA工具安裝 安裝CUDA Toolkit 8.0 cuda下載位置:https://developer.nvidia.com/cuda-80-ga2-download-archive 安裝cuda擴充cudnn:https://developer.nvidia.com/rdp/cudnn-download 選擇 cuDNN v7.0.3 (Sept 28, 2017), for CUDA 8.0版本 將cuda擴充檔解壓縮後 複製到原本cuda 8.0的位置底下 C:\Program Files\NVIDIA GPU Com...

利用facebook id取得使用者的照片

把id改成你抓到的facebook id http://graph.facebook.com/" + id + "/picture?type=large *原本用user_photos想抓到使用者的大頭貼 結果抓到大量的相簿圖資 沒有我要的 殊不知這麼簡單

MySQL資料庫解法 Numeric value out of range: 1264 Out of range value for column

遇到問題 error:Numeric value out of range: 1264 Out of range value for column 解法 遇到問題資料庫insert時錯誤 原型態為int 因資料長度太長 改mediument或text型態即可解決

php 時間抓取(這禮拜的第一天)

利用星期取得這個禮拜天的日期 date("Ymd",strtotime("-".date("w",time())." day"));

android studio 上傳更新github

圖片
先到設定裡面 把git的功能開出來 在專案上面按右鍵git/commit directory 上面可以看上傳的檔案 下面可以做更新的紀錄  按右鍵git/respositroy/push 可以看到要上傳的專案,點擊右邊可以看到更改的地方 按下push就可以完成上傳

從Github引用檔案到Android Studio

圖片
點選File/new/project from version control/github 從github複製網址 ​ 貼到git respository url裡 parent directory:檔案路徑 directory name:專案名稱 ​ 按下clone即可引入