OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

"No module named 'models' " iin yolov7

  • Thread starter Thread starter Mahya
  • Start date Start date
M

Mahya

Guest
I trained yolov7, and I want to use the best weight to detect but I get an error.

I installed all libraries using pip install -r requirements.txt and I run the code in google colab.

Module Not Found Error Trace back (most recent call last)

in <cell line: 8>()
6 import numpy as np
7 from deep_sort_realtime.deepsort_tracker import DeepSort
8 from models.experimental import attempt_load
9 from utils.general import check_img_size
10 from utils.torch_utils import select_device, TracedModel

Module Not Found Error: No module named 'models'
<p>I trained yolov7, and I want to use the best weight to detect but I get an error.</p>
<p>I installed all libraries using <code>pip install -r requirements.txt</code> and I run the code in google colab.</p>
<blockquote>
<p>Module Not Found Error Trace back (most recent call last)</p>
<p> in <cell line: 8>()<br />
6 import numpy as np<br />
7 from deep_sort_realtime.deepsort_tracker import DeepSort<br />
8 from models.experimental import attempt_load<br />
9 from utils.general import check_img_size<br />
10 from utils.torch_utils import select_device, TracedModel</p>
<p>Module Not Found Error: No module named 'models'</p>
</blockquote>
 

Latest posts

Top