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

about inference bug? #95

Open
xiyangyang99 opened this issue Oct 31, 2023 · 0 comments
Open

about inference bug? #95

xiyangyang99 opened this issue Oct 31, 2023 · 0 comments

Comments

@xiyangyang99
Copy link

xiyangyang99 commented Oct 31, 2023

i try run demo.py but output invalid nargs value?????
how to deal with the bug ?

python demo.py --config-file /media/bowen/d44126bd-0a14-4766-85bd-50e05fe1d36e/home/bowen/MaskDINO-main/configs/coco/instance-segmentation/maskdino_R50_bs16_50ep_3s.yaml --input /media/bowen/d44126bd-0a14-4766-85bd-50e05fe1d36e/home/bowen/MaskDINO-main/yeya_cifanban_2.jpg --output /media/bowen/d44126bd-0a14-4766-85bd-50e05fe1d36e/home/bowen/MaskDINO-main/yeya_cifanban_22.jpg --opts MODEL.WEIGHTS /media/bowen/d44126bd-0a14-4766-85bd-50e05fe1d36e/home/bowen/MaskDINO-main/maskdino_r50_50ep_300q_hid1024_3sd1_instance_maskenhanced_mask46.1ap_box51.5ap.pth
Traceback (most recent call last):
File "demo.py", line 101, in
args = get_parser().parse_args()
File "demo.py", line 55, in get_parser
parser.add_argument(
File "/home/bowen/anaconda3/envs/yolo8/lib/python3.8/argparse.py", line 1382, in add_argument
self._get_formatter()._format_args(action, None)
File "/home/bowen/anaconda3/envs/yolo8/lib/python3.8/argparse.py", line 606, in _format_args
raise ValueError("invalid nargs value") from None
ValueError: invalid nargs value

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

1 participant