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

No module named 'models' #5

Closed
jhnhp opened this issue May 31, 2021 · 7 comments
Closed

No module named 'models' #5

jhnhp opened this issue May 31, 2021 · 7 comments

Comments

@jhnhp
Copy link

jhnhp commented May 31, 2021

I tried this code to convert my custom trained YOLOv5 model (.pt)
It returns this message

2021-05-31 10:26:03.181164: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
No module named 'models'

How can I fix this?

@Linxin-Zhong
Copy link

I got the same problem and don't know how to fix this either

@mozeqiu
Copy link

mozeqiu commented Jun 1, 2021

I got the same problem and don't know how to fix this either

I suggest to try the steps separately

@thongvhoang
Copy link

I got the same problem and don't know how to fix this either

@codebugged
Copy link

We are waiting @omerferhatt

@mozeqiu
Copy link

mozeqiu commented Jun 11, 2021

我们在等@omerferhatt

I have successfully converted, I will proceed in separate steps。like pt2onnx.py --> onnx2tf.py ---> tf2tflite.py,
Instead of finishing the conversion

@omerferhatt
Copy link
Owner

Hey everyone, sorry for late respond. I change code a little bit. Please test it out and lemme now if anything is broken.

@weinixuehao
Copy link

No module named 'model'

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

7 participants