Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片路径问题 #11

Open
lizhiwei98 opened this issue Apr 15, 2020 · 2 comments
Open

图片路径问题 #11

lizhiwei98 opened this issue Apr 15, 2020 · 2 comments

Comments

@lizhiwei98
Copy link

我想做一个界面选择一张图片作为输入,发现传不过去,然后试着用默认路径也不行。
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
Copy link
Author

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

@DataXujing
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants