-
Notifications
You must be signed in to change notification settings - Fork 21
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
pytorch3d versions #9
Comments
Hi! Actually, from pytorch3d, we just use the |
Thank you for your reply, I used pytorch3d version 0.3.0, and pip3 does not let me install later versions due to compatibility between Pytorch version. Do you have anyway to work around with it? |
You could also install it from source. Which CUDA version are you using? From here you can download it and to install it is the same as to install this repo, by using: pip3 install -e . |
One further question, pytorch3d is only used in the refinement network. Did you manage to finish the training for the diffusion part? |
I am using CUDA version 11.4. And yes, I was able to finish the training of the diffusion part. Now I am trying to train the refinement network. I am tried your suggested method, but it gives me error. The error is quite long, so I am attaching only the last part of the error. `
` |
Try running pip3 install -e -v . |
It gives me the same error. Is it because I am trying to set up environment on JupyterLab? |
The error doesn't seem to provide much information. Could you uninstall ninja and try running the command again? Ninja compile it in multithread and it gets hard to understand exactly where the error is. |
I created a separate environment and followed the instructions here https://github.com/facebookresearch/pytorch3d/releases/tag/v0.7.1, and it worked. It seems like some dependencies are missing. Also, based on your requirement it seems like pytorch3d 0.7.1 is more suitable. |
Glad you managed to make it work. I will also update the requirements.txt since it seems that version 0.7.1 is easier to install with the other dependencies. |
Hi, I was able to make train_refine.py running! Now I am running |
It is not expected. You can try setting num_val_sanity_check=0 in train_refine.py file so it skips the sanity check |
Hi again, I figured out the problem with validation getting stuck, I was using the wrong collation function for the refinement net (some mistakes done during the refactoring of the code before releasing it). Sorry about that, you can pull the repo and get the correct version now, with the same collation used in the experiments reported in the paper. |
It is working now and thank you! I have another question. How long did it take for you to complete each epoch? |
In our experiments, we used |
In your config_refine, it looks like the refine network is trained up to 100 epochs. is that the case here? |
No, it just needs 5 epochs to get the results from the paper |
During development I let it train for longer to compare the results but with 5 epochs was already enough, that is why in the config there is |
Thank you very much! Lastly, if I want to check diffusion results without the refine model, which part of the |
You can use the provided refinement network weights and run the pipeline with your diffusion trained weights. In the pipeline output directory you should see two directories diff/ and refine/ the point clouds in diff/ will be the ones generated without the refinement |
Thank you very much for all the help! |
Hi whenever I tried to install pytorch3D by
pip3 install pytorch3d==0.7.4
, it gives following error,ERROR: Could not find a version that satisfies the requirement pytorch3d==0.7.4 (from versions: 0.1.1, 0.2.0, 0.2.5, 0.3.0) ERROR: No matching distribution found for pytorch3d==0.7.4
Do you have any idea what is the problem?
The text was updated successfully, but these errors were encountered: