zubair-irshad / shapo

Pytorch code for ECCV'22 paper. ShAPO: Implicit Representations for Multi-Object Shape, Appearance and Pose Optimization
Other
182 stars 12 forks source link

Shape and Texture pretraining on the custom dataset to create 'sdf_rgb_pretrained' folder #13

Open alihankeleser opened 1 year ago

alihankeleser commented 1 year ago

Hi @zubair-irshad,

How do I re-generate the folder 'sdf_rgb_pretrained' by pretraining the shape and texture network using my custom dataset? Which folders from 'sdf_rgb_pretrained' do I exactly need to reproduce in order to train the network on my custom dataset? I am assuming I need all of them.

Can you please help me in reproducing this part?

Thanks a lot for your help in advance!

zubair-irshad commented 1 year ago

Hi @alihankeleser,

Thanks for your interest in our work. Unfortunately, it might not be possible to release the shape and appearance training part of the codebase but I can certainly help out with your questions/share some of the unofficial implementations here so you can reproduce it on your end in a seamless way. Let me know if you have any specific questions but on the high-level, here is how you can reproduce some of the shape and appearance training part of the codebase:

Hope this helps and please feel free to let me know if you might have additional question.

Trulli99 commented 1 year ago

Sorry to bother, but would you mind to detail it a little more, please?

zubair-irshad commented 1 year ago

Sure! Let me know if you have specific questions on what do you need more help with?

Trulli99 commented 1 year ago

For the shape pre training I just need to follow the instructions from the DeepSDF and use your specs.json file?

zubair-irshad commented 1 year ago

Apologies for the delayed response, yes I linked more scripts in my comment here. As you can see, the scripts borrow a lot of code from DeepSDF. We made some changes such as training one model for all categories + contrastive losses. Feel free to go to the links I mentioned in the comment above to see those changes and train the shape and appearance models. Hope it helps!