QianyiWu / objsdf

:t-rex: [ECCV‘22] Pytorch implementation of 'Object-Compositional Neural Implicit Surfaces'
183 stars 5 forks source link

Training cost, Eval file and Quality of mesh #9

Closed Waterglaze closed 1 year ago

Waterglaze commented 1 year ago

Hi Qian Wu,

Thank you for your help in dataset and Sorry for that I still have problems in evaluation process.

Thank you for your taking time to going through my questions and wait for your reply. Best Regards

QianyiWu commented 1 year ago

Hi Waterglaze,

  1. The training speed you mentioned is reasonable. I also tried toydesk2 in 3090 and it will take ~15 hours to train 2000 epochs.
  2. The default marching cube resolution is 100 here. You can increase it to a higher number for better mesh visualization, such as 256.
  3. Sorry about the misunderstanding of the evaluation script. The 'eval.py' is not for this project... I forget to remove it... If you would like to evaluate the model, I provide the mIOU and PSNR evaluation script here.
Waterglaze commented 1 year ago

Hi Qianyi Wu,

Thank you for your answer! It really helps!

I changed the resolution to 256, it looks better, and then to 512, it out of memory, haha. In addition, as you said that the resolution is marching cube resolution, is it only for marching cube? Does that mean that I can use the model trained with marching cube resolution 100 to infer a high-resolution (e.g., 512) mesh? But I didn't find the code file that can directly extract a mesh from the model, shall I get them from training code?

QianyiWu commented 1 year ago

Hi Waterglaze,

As the output of ObjectSDF is the signed distance function of each object, you can use the trained model with different marching cube resolutions to recover a mesh from it.

In this project, I didn't create an individual script to extract mesh. But it is easy to refer here to create such a script.

Waterglaze commented 1 year ago

Thank you for your help!