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

Geo_rec_loss Leads to Gradient Explosion and Zero Loss During Training #16

Open
YukiaCUI opened this issue Aug 27, 2024 · 0 comments
Open

Comments

@YukiaCUI
Copy link

I encountered an issue while trying to use geo_rec_loss in my training process. I modified the LiDAR-Diffusion/configs/autoencoder/kitti/autoencoder_c2_p4.yaml file by changing the geo_factor from 0 to 1. After encountering input shape mismatches, I adjusted the disc_in_channels parameter from 1 to 3 in the YAML file, which allowed the training to proceed. Then I changed False to True in self.geometry_converter = GeoConverter(curve_length, False, dataset_config).

However, I am now facing a problem where the geo_rec_loss becomes excessively large, leading to gradient explosion. After a short period of training, all the loss values, including geo_rec_loss, drop to 0.

Could you please provide guidance on how to address this issue?

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

1 participant