發表文章

It's not your fault

最近看完了心靈捕手的電影 一句『這不是你的錯』讓我久久不能自己,或許是因為最近的經歷,讓我有如此深刻的體悟,自己的運氣還不錯,有遇到自己的心靈導師,一直以來都希望自己是獨立而不用去麻煩別人的,努力充實自己的能力,嘗試著用自己的能力去賺錢,養活自己,總是兢兢業業的過著生活,每一天每一分鐘,都覺得呼吸的空氣會讓我窒息,但還是不想麻煩別人,不想將這份負能量傳達給任何人,這份自以為的“獨立”似乎是根生蒂固的在心裏,但社會總是現實,生活亦是,不管你做了多少努力,還是會重重的把你拍在地上,可能是能力不足,也可能是時間不夠,跟社會打交道了幾次,嗚著嘴壓抑著,眼淚還是留下來了,不能說的獨立還在,但懷抱著夢想的少年已經消失,曾經是對任何事都充滿熱情,勇於嘗試的自己,在近幾年已經看不見,我害怕,穩定就好了.

bcb C++ Builder無法讀取JPG

圖片
問題 使用C++ Builder TImage讀取圖片路徑 Image1->Picture->LoadFromFile("icant.jpeg"); 出現錯誤unknown picture file extension (.jpg) 解決方法 加入 #include <JPEG.HPP> 如果還不能使用,則調整圖片,如換張,或轉檔為jpg,jpeg,png等

android錯誤:Error converting bytecode to dex:

Error:Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code. This is caused by library dependencies that have been compiled using Java 8 or above. If you are using the 'java' gradle plugin in a library submodule add targetCompatibility = '1.7' sourceCompatibility = '1.7' to that submodule's build.gradle file. ...while parsing org/tensorflow/DataType.class 修改buidle.gradle版本 buildscript { repositories { } dependencies { classpath 'com.android.tools.build:gradle:3.0.0' } } android { compileSdkVersion 26 buildToolsVersion "26.0.1" }

tensorboard運作錯誤

訓練完tensorflow後想要用tensorboard看log資料卻跳出錯誤 (tensorflow) C:\WINDOWS\system32>tensorboard --logdir /tmp/retrain_logs Traceback (most recent call last):   File "c:\users\im\anaconda3\envs\tensorflow\lib\runpy.py", line 193, in _run_module_as_main     "__main__", mod_spec)   File "c:\users\im\anaconda3\envs\tensorflow\lib\runpy.py", line 85, in _run_code     exec(code, run_globals)   File "C:\Users\im\Anaconda3\envs\tensorflow\Scripts\tensorboard.exe\__main__.py", line 9, in <module>   File "c:\users\im\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\main.py", line 39, in main     return program.main(default.get_plugins(),   File "c:\users\im\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\default.py", line 71, in get_plugins     debugger = debugger_plugin_loader.get_debugger_plugin()   File "c:\users\im\anaconda3\envs\tensorflow\lib\site-packages\tensorboard\plugins\debugger\debugger_pl...

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型態即可解決