Skip to content

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

@samar-080301

Description

@samar-080301

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions