Description
I tried installing the local setup on my host machine(windows 11 with powershell and conda) and also my wsl(ubuntu),i went into the error as following when running the i23d bash script(stage 1) with the command:
bash shell_scripts/release/inference/i23d/i23d-stage1.sh
heres the partial information and full error txt file:
Traceback (most recent call last):
File "/home/username/gaussian/GaussianAnything/scripts/vit_triplane_sit_sample.py", line 23, in
from guided_diffusion.script_util import (
File "/home/username/gaussian/GaussianAnything/./guided_diffusion/script_util.py", line 14, in
from dit.dit_trilatent import DiT_models as DiT_models_t23d
File "/home/username/gaussian/GaussianAnything/./dit/dit_trilatent.py", line 15, in
from vit.vit_triplane import XYZPosEmbed
File "/home/username/gaussian/GaussianAnything/./vit/vit_triplane.py", line 18, in
from nsr.networks_stylegan2 import Generator as StyleGAN2Backbone
File "/home/username/gaussian/GaussianAnything/./nsr/init.py", line 2, in
from .train_util import TrainLoop3DRec, TrainLoop3DRecTrajVis
File "/home/username/gaussian/GaussianAnything/./nsr/train_util.py", line 12, in
from nsr.gs import GaussianRenderer
File "/home/username/gaussian/GaussianAnything/./nsr/gs.py", line 8, in
from diff_gaussian_rasterization import (
ModuleNotFoundError: No module named 'diff_gaussian_rasterization'
gaerrormesg.txt
also theres some typo in the setup part on readme file:
pip intall -r requrements.txt
should be pip install -r requirements.txt
also when it is installing the requirements.txt without a torch prior to it,it would run into error as follow(can be resolved by first pip installing torch):
Collecting git+https://github.com/facebookresearch/pytorch3d.git@stable (from -r requirements.txt (line 48))
Cloning https://github.com/facebookresearch/pytorch3d.git (to revision stable) to /tmp/pip-req-build-z2lmwm8q
Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/pytorch3d.git /tmp/pip-req-build-z2lmwm8q
Running command git checkout -q 75ebeeaea0908c5527e7b1e305fbc7681382db47
Resolved https://github.com/facebookresearch/pytorch3d.git to commit 75ebeeaea0908c5527e7b1e305fbc7681382db47
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-z2lmwm8q/setup.py", line 15, in
import torch
ModuleNotFoundError: No module named 'torch'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I googled a bit and found that the module of diff_gaussian_rasterization can be found at https://github.com/graphdeco-inria/gaussian-splatting as a submodule in that project, but so far i have no luck installing it that way with pip install submodules/diff_gaussian_rasterization after git clone with --recursive flag, i hope the information i provide is enough and im grateful for your time to read this.
my hardware spec is:
rtx4090(24g)+ryzen 9 7950x
if you need any extra information,please let me know