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

final.py: error: the following arguments are required: --weights #15

Open
gSayak opened this issue Apr 23, 2023 · 0 comments
Open

final.py: error: the following arguments are required: --weights #15

gSayak opened this issue Apr 23, 2023 · 0 comments

Comments

@gSayak
Copy link

gSayak commented Apr 23, 2023

I am running the script

!python3 final.py train --dataset='/content/drive/MyDrive/temp/wastedata-Mask_RCNN-multiple-classes/main/dataset'  --weights='/content/drive/MyDrive/temp/wastedata-Mask_RCNN-multiple-classes/mask_rcnn_coco.h5'

but its showing the error

[-h]
[--dataset /path/to/custom/dataset/]
--weights
/path/to/mask_rcnn_coco.h5
[--logs /path/to/logs/]
[--image path or URL to image]
[--video path or URL to video]

final.py: error: the following arguments are required: --weights

I even tried with

!python3 final.py train --dataset='/content/drive/MyDrive/temp/wastedata-Mask_RCNN-multiple-classes/main/dataset'  --weights=coco

but it's still showing the same error. Please help :)

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