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
Running inference #8
Comments
The only way I was able to run it was by emulating the directory structure of one of the datasets. So if you want to run inference on a video, try to save it exactly like culane dataset.
Now edit the data root to point towards the video_frames folder. Run the model as given in the repo. Remember that these steps are for test_culane.py file. To test out tusimple simply swap out the model from culane_small.pth to tusimple_small.pth. I have tested it and it works. |
Although this is closed, I did want to add more comments on how to run inference, which could be a reference for other people.
|
hello @MeloHo , could you please clarify on point number 3, where should
|
Hi, great work !! I am trying to run inference on some of my own images, but the output is incorrect. Here are the steps I followed:-
:- crop_shape = (320,800)
img_shape = (320,800)
crop_offset = (0,0)
ori_shape = (320,800)
https://drive.google.com/file/d/1BwTaZ1I5VVWAEoQKjx2q6-Wg8UFzv6fT/view?usp=sharing
It would be great if you can tell me where I am going wrong.
Thank You
The text was updated successfully, but these errors were encountered: