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

DuplicateFlagError: The flag 'classes' is defined twice. First from /usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py, Second from /usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py. Description from first occurrence: path to classes file #14

Open
samar-080301 opened this issue Jul 2, 2020 · 0 comments

Comments

@samar-080301
Copy link

I was running this application in colab. When I ran the load_weights.py file, it showed FATAL Flags parsing error: Unknown command line flag 'f' . But the code ran, so I moved forward and ran the detect_video.py with my weights file as /content/yolov3.weights and classes file as /content/Object-Detection-API/data/labels/coco.names. It showed DuplicateFlagError: The flag 'classes' is defined twice. First from /usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py, Second from /usr/local/lib/python3.6/dist-packages/ipykernel_launcher.py. Description from the first occurrence: path to classes file
My colab notebook :- https://colab.research.google.com/drive/1bESeiPhNPbRGO7xWDK0X6uzlo3gu6p3C#scrollTo=mGWhScK0jAeQ

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