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

Train model #20

Open
mark2146 opened this issue Oct 12, 2024 · 4 comments
Open

Train model #20

mark2146 opened this issue Oct 12, 2024 · 4 comments

Comments

@mark2146
Copy link

Hello, sorry to bother you. I followed your process once. At present, I can successfully compile tiny_yolo and it is successful. However, I now replace tiny_yolo with the traffic signal I want and then quantify the process after the debate. Everything went smoothly, but when I ran the version, I encountered an error. He said that the .so file of my model was not found. I checked a lot of information on the Internet, but most of them were ZCU versions. It seems that pynqz2 does not have it. I want to ask where is the problem?
image

@wutianze
Copy link
Owner

Hello, sorry to bother you. I followed your process once. At present, I can successfully compile tiny_yolo and it is successful. However, I now replace tiny_yolo with the traffic signal I want and then quantify the process after the debate. Everything went smoothly, but when I ran the version, I encountered an error. He said that the .so file of my model was not found. I checked a lot of information on the Internet, but most of them were ZCU versions. It seems that pynqz2 does not have it. I want to ask where is the problem? image

It seems that your libdpumodeltiny_yolo.so is missing(/usr/lib, /lib). Pls try the mnist_tf demo first to see if it works

@mark2146
Copy link
Author

I try it is work.So I don't know what problem?

@wutianze
Copy link
Owner

I try it is work.So I don't know what problem?

Maybe you could edit the file "
runYolo.cpp" and change the kernel info to yours (like #define YOLOKERNEL "testModel"). And I recommend you try the initial model first before using your own model.
And this is a more detailed tutorial about how to run yolo in pynq-z2: https://github.com/andre1araujo/YOLO-on-PYNQ-Z2. Hope this could help you.

@mark2146
Copy link
Author

Yes,I try the initial model is successful,but try own model is unsuccessful.But I only change the model,other I don't change.

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

2 participants