Closed chky1997 closed 1 year ago
Hi, I have encountered NaN during training in the following situations, and can be avoided by using corresponding methods:
Solved! Thank you for your advice!
Hi, I met another problem during training.
Hi, what kind of data did you use? Is it similiar to ZJU-Mocap (Multi-view dynamic dataset, including mask information)? Could you provide more information so I can locate the problem?
I use 4 cameras to record and extract images (1280x720, padding to 1280x1280 and resize to 1024x1024).
I also use a segmentation model to get the mask information.
I set the train input view in the yaml and the length of source view in enerf.py to avoid out of range.
At first I think the calibration from Easymocap is not correct. But I use Matlab to double check it and the two results are close.
Try to use more source views, (one input view is not enough).
train_input_views: [3,4] train_input_views_prob: [0.5, 0.5] test_input_views: 3(or 4)
I have some other suggestions:
I followed your advice and tried, but the result seems the same. Both the PSNR and the visualization are still bad.
Actually, when I use the same yaml for training, with zjumocap (only use 4 cameras data) and my dataset. The result of zjumocap seems good. Only after epoch 0, PSNR of zjumocap (4 cameras) can raise from 20 to 25. For my dataset, it only begins with 10 and ends up with 13. The initial network can get such results with different data and same training strategy. So it has to be my data or my calibration that cause the difference, right?
I also checked the depth_range calculated by the 3D bbox. It usually ranges from 2 to 4.5 in CoreView313. But for my dataset it ranges from 0.1 to 0.5, and sometimes the value is negative. Is that a problem?
Thank you so much for your help these days!
As far as I know, it is the normalization of the extrinsics that cause the problem. After the modification, everything seems good. And I deleted the images above for privacy. Thank you for your help and your great work!
Hi, when I trained my own dataset, error occurred as below: I set 'shuffle' to False to check if some particular images in my dataset cause this error, but it still occurs randomly (mostly in the first epoch, but it occurred once in the second epoch while the first epoch seem good). Do you have any idea? Thank you for your help!