Skip to content
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

Encounter the RuntimeError when running train.py #16

Closed
Ianpengg opened this issue Apr 13, 2022 · 3 comments
Closed

Encounter the RuntimeError when running train.py #16

Ianpengg opened this issue Apr 13, 2022 · 3 comments

Comments

@Ianpengg
Copy link

Hello these days I've tried this code many times
But when I run the train.py it always crashed at the beginning
I follow the all instructions in your README.md
So I'm confused if there is anything I need to setting?

I run this command and use the original .yml file without modified
Hope you can help me~ Many thanks
python train.py -c configs/pgp_gatx2_lvm_traversal.yml -r /media/ee904/Data_stored/data/Nuscenes -d /media/ee904/Data_stored/data/Nuscenes/preprocess -o /media/ee904/Data_stored/PGP/results -n 100

image

image

@Ianpengg
Copy link
Author

I tried to print out the predictions in the trainer.py
and I found there is something strange for the 'pi' value is it normal to display nan value?
image

@nachiket92
Copy link
Owner

@Ianpengg were you able to figure out what the issue was?

@Ianpengg
Copy link
Author

Yes I think it's because the value of op_masks
I tried to print the output of pi but found nan, so I trace back and find if I print op_masks there would be some -inf value pop up so I tried to add one line of code to convert the inf to a big number
What's your opinion for these type of bug?
image


this is the result if I print the op_masks
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants