Skip to content

ImportError: No module named yolov3_tf2.models #15

Description

@Milan-Koelen

Hey guys, I'm trying to convert my custom weights files to TensorFlow format but keep running into the same error.
I've renamed my files to yolov3.weights and placed then in the same folder as the official pretrained weights. I've also changed the coco.names file accordingly.
I have also changed the number of classes to match in the app.py, detect_video.pi and detect.py
Please let me know what I'm doing wrong!

(yolov3-cpu) MacBook-Pro-Milan-2:Object-Detection-API Milan$ python load_weights.py Traceback (most recent call last): File "load_weights.py", line 4, in <module> from yolov3_tf2.models import YoloV3, YoloV3Tiny ImportError: No module named yolov3_tf2.models

Milan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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