-
Notifications
You must be signed in to change notification settings - Fork 97
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
Question on the environment required to run sol-renderer #5
Comments
Thanks for your interest in our work! What version of libtorch are you using? The code was tested on 1.7.1, and using a newer version may cause issues (but I haven't actually tried). |
I was using 1.8.1. But just now I tried 1.7.1, which can be downloaded from here, but still no luck -- the error is the same 🤔 I saw in the requirements.txt that for the python renderer the pytorch version should be 1.6. Does the version of libtorch and pytorch have to be the same? |
Thanks for trying that out. If you can share with me the NPZ file you generated on Google Drive or something, I can try running it on my side & try to reproduce. The Python PyTorch version shouldn't matter in theory, since it uses NPZ to bridge between the two and the C++ version uses its own separate PyTorch (libtorch). |
Thanks for the fast response! Here is the npz file: https://drive.google.com/file/d/1EcGrddM3kS_IbVVuS8_3zvja6PCswv1i/view?usp=sharing |
I just tried the NPZ and I got the same error too, but still works on the NPZs I have. There might be an issue with the NPZ export in the released code, so I'll take a deeper look at this later today. |
Cool! Thanks for your help. Looking forward to your reply. |
Hi @heiwang1997 , did you try upgrading PyTorch? I was trying to run nglod on an A4000 gpu and figured that PyTorch 1.6 does not support ampere architecture. Upgrading to latest PyTorch worked. |
Hi@heiwang1997, |
Hi @tovacinni , thanks for this great work and the code release. I am trying to run your C++ renderer and meet the following segmentation fault. Can you guide me on how to solve this issue, at your convenience?
The system is Ubuntu 20.04. I've tried both rtx3090 and 1080 and neither of them works. By the way, the python part works well -- I can run the training and generate the rendered armadillo. The libtorch is downloaded from https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-1.8.1%2Bcu111.zip
Here is the error message:
The text was updated successfully, but these errors were encountered: