YoLact測試一張圖

(pytorch) C:\Users\Administrator\Anaconda3\envs\pytorch>python D:/Pycharm/yolact-master/eval.py --trained_model=D:/Pycharm/yolact-master/weights/yolact_resnet50_54_800000.pth --score_threshold=0.3 --top_k=100 --image=1.jpg
Config not specified. Parsed yolact_resnet50_config from the file name.

先激活pytorch,再cd到cd C:\Users\Administrator\Anaconda3\envs\pytorch\下(圖像和python.exe在這個目錄下),隨後運行

python D:/Pycharm/yolact-master/eval.py --trained_model=D:/Pycharm/yolact-master/weights/yolact_resnet50_54_800000.pth --score_threshold=0.3 --top_k=100 --image=1.jpg

 

python D:/Pycharm/yolact-master/eval.py --trained_model=C:/Users/Administrator/Anaconda3/envs/pytorch/weights/yolact_base_3094_393000.pth --score_threshold=0.3 --top_k=100 --image=01163.jpg

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章