-
Notifications
You must be signed in to change notification settings - Fork 198
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
Infinite loop while loading the lidar folders! #280
Comments
Can you debug and report in which line of code the training enters an infinite loop? |
Here is the train.py and model.py after switching to CPU: https://github.com/amanysh99/Carla |
hm? the main function is not very explicit. maybe its the multiprocessing strategy. fork is the default but can sometimes deadlock. You can try the other two and see if it helps. |
Unfortunately I had tried the two options sorrowfully all in veins :( |
transfuser/team_code_transfuser/train.py Line 159 in 3852e65
I would change the num workers in the dataloaders to 0. That will turn off parallelism and helps you debug easier. You can try debugging then again, you should get a better error message of where the code enters an infinite loop. |
It enters an infinite loop again without displaying any obvious error message! |
and you can't debug? |
aren't you mixing windows style paths with Linux style paths? Also I would avoid putting spaces in paths, should generally work but sometimes not. r'D:\Lab 6\transfuser\team_code_transfuser\data\rr_dataset_23_11' |
Yes that exactly my fault that I mixed Windows and Linux style paths, but I solved and after checking the folder exist, but still enters an infinite loop:( |
Now I am just trying to debug the code on only one folder of data which is "lr_dataset_23_11" and just one scenario inside that folder which is "Routes_clipped_Town03_lr_Seed0" and root0000, so the path will be like this: "D:\Lab6\transfuser\team_code_transfuser\data\lr_dataset_23_11\Routes_clipped_Town03_lr_Seed0\Route_0000", so it can now loop over the "rgb, lidar, semantic, depth,....", and I am ensuring that the code read the path correctly, but it still enters infinite loop I am really can't figure why that happen? |
During the execution of the code, after switching to CPU processing and selecting a subset of the dataset (specifically, the 'rr_dataset_23_11' folder), I encountered an issue where the program appears to enter an infinite loop while attempting to load 4545 lidar files from three folders. I am currently unable to determine the cause of this issue.
The text was updated successfully, but these errors were encountered: