You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There were some issues when setting up the environment for the repo. First, the requirements.txt file mentions that the pytorch3d version used is 0.5.0 but in renderer_helper there is an import of ShaderBase from pytorch3d.renderer.mesh.shader which was introduced in version 0.6.2 if I'm not mistaken.
Anyway, here are the steps I used to create the environment, they might be useful:
create a conda env with python 3.9: conda create -n harp python=3.9 && conda activate harp
Thank you so much for checking and providing clear instructions!
The version of pytorch3D is indeed wrong as I push the previous requrements.txt instead of the most recent one.
I now updated the readme following your suggestion.
Hello,
There were some issues when setting up the environment for the repo. First, the requirements.txt file mentions that the pytorch3d version used is 0.5.0 but in renderer_helper there is an import of ShaderBase from pytorch3d.renderer.mesh.shader which was introduced in version 0.6.2 if I'm not mistaken.
Anyway, here are the steps I used to create the environment, they might be useful:
conda create -n harp python=3.9 && conda activate harp
conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorch
conda install -c fvcore -c iopath -c conda-forge fvcore iopath
conda install pytorch3d=0.6.2 -c pytorch3d
requirements_reduced.txt
and install withpip install -r requirements_reduce.txt
:The text was updated successfully, but these errors were encountered: