發表文章

google ads 開發遇到 The developer token is not approved. Non-approved developer tokens can only be used with test accounts.

圖片
在開發google ads應用時遇到 Error with message "The developer token is not approved. Non-approved developer tokens can only be used with test accounts.". 研究了一下發現,要使用開發者帳號去開發只能使用測試客戶的資料,所以需要建立測試客戶,but找了很久都找不到建立的路口,後來發現了google的測試帳號建立路徑: https://adwords.google.com/um/Welcome/?sf=mt 點選按鈕 會發現頭像旁邊就有測試帳戶的字樣了 透過這樣的方式建立的帳戶id就可以加入設定中嚕~

在windows更新所有python套件

使用pip-review來協助更新 安裝後執行按a(All)即可 pip install pip-review pip-review --local --interactive 參考資料 https://stackoverflow.com/questions/2720014/upgrading-all-packages-with-pip

執行object detection 發生錯誤:cannot import name 'preprocessor_pb2'

執行object detection專案時,一切設定完成要進行train時 發生錯誤:cannot import name 'preprocessor_pb2' 解決方法: 執行指令: protoc object_detection/protos/*.proto --python_out=. 在https://github.com/tensorflow/models下載後 下來的根目錄 models / research /執行該指令

tesseract is not installed or it's not in your path

在進行驗證碼解析需要用到的python套件tesseract-ocr 始終會出現路徑找不到的問題 錯誤: tesseract is not installed or it's not in your path 解法: 修改套件原始路徑 C:\Users\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\pytesseract\pytesseract.py tesseract_cmd = 'tesseract' 改為 tesseract_cmd = r'C:\Program Files (x86)\Tesseract-OCR\tesseract.exe' 將路徑改為另外安裝的Tesseract-OCR路徑就可以抓到了

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" }