YOLO-V3-Tensorflow icon indicating copy to clipboard operation
YOLO-V3-Tensorflow copied to clipboard

图片路径问题

Open lizhiwei98 opened this issue 4 years ago • 2 comments

我想做一个界面选择一张图片作为输入,发现传不过去,然后试着用默认路径也不行。 parser.add_argument("input_image", type=str, default="C:/Users/Hasee/Desktop/YOLO-V3-Tensorflow-dev/YOLO-V3-Tensorflow-dev/JPEGImages/1.jpg" , help="The path of the input image.") 请问图片路径不能这么默认吗

lizhiwei98 avatar Apr 15 '20 11:04 lizhiwei98

我知道了,改为parser.add_argument("--input_image", 就可以传递图片参数了

lizhiwei98 avatar Apr 19 '20 15:04 lizhiwei98

好的,仔细修改一下命令行传参这部分的参数就可以了

DataXujing avatar Apr 25 '20 08:04 DataXujing