New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to train the model on a single class of Shapenet Data? #14
Comments
Hi @nitish11 , thanks a lot for your interest in our project! Single Class Training:
What is the Pointcloud Chamfer file? |
Hi @m-niemeyer, thanks fro your reply and clarifying the doubt. I want to train a model on only one class,; i.e; speaker - 03691459 . Before downloading the data using your script, I just wanted to confirm if Kato shapenet data contains Speaker class or not. Could you please confirm. |
@nitish11 yes, both ShapeNet datasets (Kato renderings and Choy renderings) contain the speaker class. |
@m-niemeyer : Thanks for the confirmation, I downloaded the NMR_dataset. And copied only one folder 03691459. I modified config/default.yaml as mentioned below.
What is the use of "img_folder_input"? I am getting the error
The dataset contains
|
Hi @nitish11, yes, you are getting the error because you are not using a correct config file. The NMR Dataset you downloaded is only used by the RGB model which can be trained using this config file. img_folder_input is the name of the image folder; In the NMR Dataset, it is "image". If you want to train the RGB model with on the category "03691459" from the NMR Dataset, you can add
under To be completely clear, you end up with a config file with the following config:
Please check this section of our readme for how to start training a model. I hope this helps! |
@m-niemeyer : Thanks for the explanation. Now, I am getting error in reading depth_from_visual_hull. For filename : data/NMR_Dataset/03691459/dc9c9ce6dc9a771f500158c23c4c5a8e/visual_hull_depth/00060001.exr I am getting below error.
|
I think this might be related to your imageio library which cannot read In particular, I think adding
to e.g. |
Thanks for the suggestion.
But we need to update the above lines here in im2mesh/data/fields.py. |
Hi @nitish11 @m-niemeyer , I could be able to train the model for a custom single class using this config file -
So, Now I wanna know how to train this pipeline for single RGB images for different classes so that we can generate 3D model from a single image only. |
Please refer the below config file also and updates the parameters. |
Once you have updated config file, then follow the instructions from here. |
After training the model, then you can refer the below section for testing. |
Thank you very much Nitish,
I'll try it out by tomorrow.
…On Fri, 15 Jan 2021, 17:28 Nitish Bhardwaj, ***@***.***> wrote:
After training the model, then you refer the below section for testing.
https://github.com/autonomousvision/differentiable_volumetric_rendering#generation-from-your-own-single-images
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH2BJCHWC7K75IRJ4X7LZTTS2AUXRANCNFSM4NLYGK7Q>
.
|
Hi Nitish,
I tried adding the method parameter in the config file , but after this , again i got error for cachefields and so this continues for other parameters also . |
If I want to retrain the model on a single class of Shapenet Data, what are the variables to be changed in the configuration file?
What is the use of pointcloud chamfer file mentioned in the config file?
https://github.com/autonomousvision/differentiable_volumetric_rendering/blob/master/configs/default.yaml#L10
The text was updated successfully, but these errors were encountered: