InstantMesh icon indicating copy to clipboard operation
InstantMesh copied to clipboard

Training on NeRF representation only returns white images for the rendered images and no depth maps.

Open SBlumenstock1 opened this issue 1 year ago • 1 comments

I have tried to train on the NeRF representation, but the generator only returns white rendered images.

train_0000250 train_0001500

Can someone please help me? Are the weights of the lrm_reconstructor not loaded correctly?

SBlumenstock1 avatar Aug 21 '24 10:08 SBlumenstock1

Unfortunately, I don't have the answer to your question. However, since you have reached this step, I would like to ask if you could help me get there as well. How did you create your dataset? I managed to render a dataset with 32 random views, along with normal and depth maps. Now, I am stuck at the point where I have to save the camera positions for each view.

Maxbr2021 avatar Aug 21 '24 12:08 Maxbr2021

Unfortunately, I don't have the answer to your question. However, since you have reached this step, I would like to ask if you could help me get there as well. How did you create your dataset? I managed to render a dataset with 32 random views, along with normal and depth maps. Now, I am stuck at the point where I have to save the camera positions for each view.

Hi, I would like to ask if you could help me render a dataset with 32 random views, along with normal and depth maps.Thanks a lot!

Huangkangxian avatar Aug 23 '24 02:08 Huangkangxian

@SBlumenstock1 If the model cannot render anything during the training process, there is most likely something wrong with the camera poses in your dataset. Please refer to https://github.com/liuyuan-pal/SyncDreamer/blob/main/blender_script.py#L202 which used the same camera pose saving function as mine. To be noted, the function produces a world2cam matrix, please make sure it is inversed into a cam2world matrix in the dataloader.

bluestyle97 avatar Aug 27 '24 01:08 bluestyle97

I've encountered the same issue. I checked your processing in the dataset https://github.com/TencentARC/InstantMesh/blob/main/src/data/objaverse.py#L186 and you've already converted the world-to-camera matrix to the camera-to-world matrix, so it shouldn't be that. I also refer tohttps://github.com/liuyuan-pal/SyncDreamer/blob/main/blender_script.py for rendering the dataset , Could you please let me know where the problem might be? train_0000000 @bluestyle97 @SBlumenstock1 Thank you!

JayChen7777 avatar Oct 04 '24 12:10 JayChen7777

I have tried to train on the NeRF representation, but the generator only returns white rendered images.

train_0000250 train_0001500

Can someone please help me? Are the weights of the lrm_reconstructor not loaded correctly?

I'm sorry to bother you. I used the camera pose data from the code along with the corresponding images, setting fx = fx * img_size, fy = fy * img_size, cx = 0.5 * img_size, and cy = 0.5 * img_size. Then, I trained a NeRF model using these parameters, but the training failed. The six images correspond to six separate 3D objects, with the result looking similar to the image below. 79a884cf3736171086779c7dc0a928f

Could you provide details on the camera poses you have used?

SensenGao avatar Oct 13 '24 09:10 SensenGao

I've encountered the same issue. I checked your processing in the dataset https://github.com/TencentARC/InstantMesh/blob/main/src/data/objaverse.py#L186 and you've already converted the world-to-camera matrix to the camera-to-world matrix, so it shouldn't be that. I also refer tohttps://github.com/liuyuan-pal/SyncDreamer/blob/main/blender_script.py for rendering the dataset , Could you please let me know where the problem might be? train_0000000 @bluestyle97 @SBlumenstock1 Thank you!

Have you solved the problem? thank you

feiqiu-cyber avatar Nov 20 '24 11:11 feiqiu-cyber

I have tried to train on the NeRF representation, but the generator only returns white rendered images.

train_0000250 train_0001500

Can someone please help me? Are the weights of the lrm_reconstructor not loaded correctly?

I also encountered this problem. The pictures rendered by the model are all white. Have you found a solution?

cseconds avatar Dec 08 '24 14:12 cseconds