Open hpc100 opened 1 year ago
Found any solution?
No. @jaswanthbjk do you have the same problems ?
Yes, I had the same problem.
But not anymore when I included normals in the features.
@jaswanthbj So, you didn't get nan values with XYZ+RGB+Normals or it's for XYZ + Normals ? I tried both, and get nan values when model is set to eval mode. Which points clouds do you use for validation ? (me : domfountain_station1_xyz_intensity and untermaederbrunnen_station3_xyz_intensity) Have you tried intensity features ?
@hpc100
Sorry for the confused reply,
I am still gettinig nans in eval mode. But not during training with RGB + Normals + XYZ, which is super weird for me.
Found any solution ? @jaswanthbj Have you tried to evaluate the model on cpu // other GPU ?
No, However, I run, It's resulting in nan values.
The dataloader is very different between train and val. Maybe digging around that might help solve the issue.
The Nan value may be caused by half-precision. Could you please try to forward the model with full-precision? You can set fp16_mode=0
and use_amp=False
.
Thanks for sharing your work ! @Yukichiii @yuxiaoguo I tried to test your code on Semantic3D : In validation step, i get "nan" value in output.
Do you have any idea where the problem could come from (layer norm, ....) ?