语法错误接近意外的令牌`('当在COLAB上在图像上运行自定义检测器时,我所有的文件都保存在Google Drive上
我试图使用此命令在图像上运行自定义检测器。 (Thresh标志设置对象检测所需的最低准确性)在COLAB上,我所有的文件都保存在Google Drive上。
' !./darknet detector test data/obj.data cfg/yolov4-custom.cfg /content/drive/MyDrive/yolov4_darknet/training/yolov4-custom_best.weights /content/drive/MyDrive/yolov4_darknet/vehicle_test_images/20220421_103809.jpg -thresh 0.3 imshow('precadionions.jpg') “
问题是我正在收到一条语法错误消息
。 /bin/bash:-c:第0行:语法错误接近意外令牌('/bin/bash:-c:-c:line 0:
./ darknet检测器测试数据/obj.data cfg/yolov4-- custom.cfg/content/drive/ylive/yolov4_darknet/training/yolov4-custom_best.weights/content/content/drive/mydrive/mydrive/yolov4_darknet/vehicle_test_test_images/202204220421_10421_1038099.jpg -tresiveions '
我如何解决问题?
I am trying to Run custom detector on an image with this command. (The thresh flag sets the minimum accuracy required for object detection) on COLAB, all my files save on google drive.
'
!./darknet detector test data/obj.data cfg/yolov4-custom.cfg /content/drive/MyDrive/yolov4_darknet/training/yolov4-custom_best.weights /content/drive/MyDrive/yolov4_darknet/vehicle_test_images/20220421_103809.jpg -thresh 0.3 imShow('predictions.jpg')
'
The problem is that I am getting a syntax error message saying
'
/bin/bash: -c: line 0: syntax error near unexpected token (' /bin/bash: -c: line 0:
./darknet detector test data/obj.data cfg/yolov4-custom.cfg /content/drive/MyDrive/yolov4_darknet/training/yolov4-custom_best.weights /content/drive/MyDrive/yolov4_darknet/vehicle_test_images/20220421_103809.jpg -thresh 0.3 imShow('predictions.jpg')'
'
How do i fix the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论