-
Notifications
You must be signed in to change notification settings - Fork 34
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
convertPytorchToONNX.py #4
Comments
I haven't encountered this issue before, could you provide me with the error traceback? Also, if you want better performance, I suggest using the ultra-fast lane detection v2 version would be better. |
I also encountered a similar problem where the operation was terminated abnormally C:\Users\86152\anaconda3\envs\lane-det\python.exe C:/Users/86152/Desktop/AI/code/Vehicle-CV-ADAS-master/TrafficLaneDetector/convertPytorchToONNX.py Process finished with exit code -1073741819 (0xC0000005) |
In torchvision 0.13, there were updates to the pre-trained model loading. I believe there might be compatibility issues with the provided .pth files by the original author. you can download the onnx model using the following script: https://github.com/PINTO0309/PINTO_model_zoo/blob/main/324_Ultra-Fast-Lane-Detection-v2/download.sh. |
I successfully converted the curvelanes/tusimple.pth into curvelanes/tusimple.onnx. When I try to achieve culane.onnx, the process was killed at torch.onnx.export(net, img, onnx_file_path, verbose=True).
The text was updated successfully, but these errors were encountered: