DepthRegularizedGS icon indicating copy to clipboard operation
DepthRegularizedGS copied to clipboard

Pytorch3D

Open umarkhalidAI opened this issue 2 years ago • 6 comments

With your environment, I could only install pytorch3D==0.3.0. However, it gives error ImportError: cannot import name 'so3_exp_map' from 'pytorch3d.transforms.so3'

umarkhalidAI avatar Mar 26 '24 13:03 umarkhalidAI

Thank you for noticing me, It will be solved if you update to the latest version of pytorch3d, (for example, ver 0.7.5) I will revise the README and environment.yml file

robot0321 avatar Mar 27 '24 00:03 robot0321

How would you install pytorch3D=0.7.5 with python 3.7?

umarkhalidAI avatar Mar 27 '24 14:03 umarkhalidAI

@umarkhalidAI You don't have to install pytorch3D=0.7.5, but a version that including so3_exp_map() In my case, now I am using python=3.9.13, pytorch=1.13.0, pytorch3D=0.7.5 Sorry for the inconvenience.

robot0321 avatar Mar 28 '24 04:03 robot0321

@umarkhalidAI You don't have to install pytorch3D=0.7.5, but a version that including so3_exp_map() In my case, now I am using python=3.9.13, pytorch=1.13.0, pytorch3D=0.7.5 Sorry for the inconvenience.

yeah but your environment file says python 3.7.13

umarkhalidAI avatar Mar 28 '24 14:03 umarkhalidAI

@robot0321 Hi, I am facing issue same to @umarkhalidAI. Would you show me the revised environment.yml?

Like your comment, I tried on the environment below↓

name: DepthRegularizedGS
channels:
  - pytorch
  - conda-forge
  - defaults
dependencies:
  - cudatoolkit=11.6
  - plyfile=0.8.1
  - python=3.9.13
  - pip=22.3.1
  - pytorch=1.13.0
  - torchaudio=0.13.0
  - torchvision=0.14.0
  - pytorch3d=0.7.5
  - tqdm
  - pip:
    - submodules/diff-gaussian-rasterization-depth-acc
    - submodules/simple-knn

but that didn't work fine. I would appreciate your reply.(sorry for clumsy English)

bob-tinner avatar Nov 29 '24 10:11 bob-tinner

Hi, you could install latest version using pip install "git+https://github.com/facebookresearch/pytorch3d.git@stable".

RocketSumit avatar Apr 07 '26 02:04 RocketSumit