Turoad/CLRNet

Errors during testing or validation

Closed this issue · 1 comments

Hello!First of all, thank you very much for your contribution.
I got an error while testing based on the CUlane dataset like this.
File "main.py", line 75, in
main()
File "main.py", line 35, in main
runner.validate()
File "/home/liu/Desktop/ly/segmentation/CLRNet-main/clrnet/engine/runner.py", line 138, in validate
output = self.net.module.heads.get_lanes(output)
File "/home/liu/Desktop/ly/segmentation/CLRNet-main/clrnet/models/heads/clr_head.py", line 479, in get_lanes
pred = self.predictions_to_pred(predictions)
File "/home/liu/Desktop/ly/segmentation/CLRNet-main/clrnet/models/heads/clr_head.py", line 288, in predictions_to_pred
start = min(max(0, int(round(lane[2].item() * self.n_strips))),
RuntimeError: CUDA error: device-side assert triggered
I would appreciate if you could show me how to adjust it in your free time. Thank you very much!

I'm sorry for the delay, after that I checked the readme.md again and found that the test needs to be done under another configuration, and after trying that, the above problem was solved. Thanks again for your contribution.