[http://ai-coordinator.jp/yolov2-tensorflow-python]
上記のサイトを参考にmacでYOLOv2を動かしたいと思いやっていたんですが、
python3 setup.py build_ext --inplace
まで終わったところで、
python
1 2from darkflow.net.build import TFNet 3import cv2 4 5options = {"model": "cfg/yolo.cfg", "load": "bin/yolo.weights", "threshold": 0.1} 6 7tfnet = TFNet(options) 8 9imgcv = cv2.imread("./sample_img/dog.jpg") 10result = tfnet.return_predict(imgcv) 11print(result) 12
をやろうとしたんですが、ターミナルで「python」と入力し実行したあと、
from darkflow.net.build import TFNet
の一行目から入力していこうとしたんですが
failed to load the native tensorflow runtime.
とエラーが出てきて先に進めないのですが、どのように解決すればよろしいでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。