0

I'm trying to train my dataset by using yolov5, but I got module 'numpy' has no attribute 'int' error when I start the training and this error coming from yolov5 files probably. I added the screenshot of this error. Could you help me to solve it?

enter image description here

1

1 Answer 1

1

This attribute in NumPy has been deprecated. You have two solutions:

  1. During the installation of program requirements, install exactly the version mentioned in the requirements.txt file. That is, an older version.
  2. Clone the new version of yolov5 from GitHub.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.