-
Notifications
You must be signed in to change notification settings - Fork 50
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
"TypeError: zip argument #1 must support iteration" when training map_model from scratch #18
Comments
are you using the requirements.txt provided in the carla_project directory? i havent seen this one before, so it might be some difference in pytorch lightning versions |
Hi @bradyz Thanks for quick response! I searched around and find that this is related to the issue of pytorch lightning here. After I pull their master branch, the error got solved. However, a new error appears:
These problems are all related to the usage of multi-GPUs. I guess the code is not meant to support pytorch multi-GPUs training, right? When I try only using one GPU, the code can run successfully. |
correct - i only used this code for single gpu training |
Thank you for clarifying! |
@AIasd did you ever find a solution for this? My solution was to set the Trainer(accelerator='horovod) or Trainer(accelerator='ddp_spawn'); however it would be great if we could use ddp. Thanks! |
@aleallievi , in my case, not using ddp is fine so I did not explore this issue further. |
Ok - thanks for your feedback |
Thanks for your work , I meet the same question about"TypeError: zip argument #1 must support iteration". Could you tall me how to solve it. Thanks a lot |
@AIasd how did you solve this? |
Hi,
I downloaded data and tried to train the map_model from scratch by running:
python3 -m carla_project/src/map_model --dataset_dir /path/to/data
.But I encountered the following error:
Any help will be appreciated!
The text was updated successfully, but these errors were encountered: