HF-Avatar
HF-Avatar copied to clipboard
Setup issue in Windows10 with 3090 GPU
Hi Team,
Great Work and thanks for sharing the repository. I have done this setup in colab and it works fine but due to system limitations I wanted to set it up in my windows10 PC with 3090 GPU but I am not able to set up it at all, the issues are coming in the pytorch3d or neural_renderer_pytorch packages version. I will keep posting here about whatever bug I am facing.
(Avatar1) D:\HF_avatar\HF-Avatar-main\pytorch3d>pip install -e .
Obtaining file:///D:/HF_avatar/HF-Avatar-main/pytorch3d
Requirement already satisfied: fvcore in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from pytorch3d==0.4.0) (0.1.5.post20221122)
Requirement already satisfied: iopath in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from pytorch3d==0.4.0) (0.1.10)
Requirement already satisfied: pyyaml>=5.1 in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (6.0)
Requirement already satisfied: termcolor>=1.1 in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (1.1.0)
Requirement already satisfied: dataclasses in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (0.8)
Requirement already satisfied: yacs>=0.1.6 in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (0.1.8)
Requirement already satisfied: numpy in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (1.19.2)
Requirement already satisfied: Pillow in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (8.3.1)
Requirement already satisfied: tqdm in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (4.64.1)
Requirement already satisfied: tabulate in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from fvcore->pytorch3d==0.4.0) (0.8.10)
Requirement already satisfied: portalocker in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from iopath->pytorch3d==0.4.0) (2.6.0)
Requirement already satisfied: typing-extensions in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from iopath->pytorch3d==0.4.0) (4.1.1)
Requirement already satisfied: pywin32>=226 in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from portalocker->iopath->pytorch3d==0.4.0) (305)
Requirement already satisfied: colorama in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from tqdm->fvcore->pytorch3d==0.4.0) (0.4.5)
Requirement already satisfied: importlib-resources in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from tqdm->fvcore->pytorch3d==0.4.0) (5.4.0)
Requirement already satisfied: zipp>=3.1.0 in c:\users\this pc\anaconda3\envs\avatar1\lib\site-packages (from importlib-resources->tqdm->fvcore->pytorch3d==0.4.0) (3.6.0)
Installing collected packages: pytorch3d
Running setup.py develop for pytorch3d
ERROR: Command errored out with exit status 1:
command: 'C:\Users\This PC\anaconda3\envs\Avatar1\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\HF_avatar\HF-Avatar-main\pytorch3d\setup.py'"'"'; file='"'"'D:\HF_avatar\HF-Avatar-main\pytorch3d\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps
cwd: D:\HF_avatar\HF-Avatar-main\pytorch3d
Complete output (44 lines):
running develop
running egg_info
writing pytorch3d.egg-info\PKG-INFO
writing dependency_links to pytorch3d.egg-info\dependency_links.txt
writing requirements to pytorch3d.egg-info\requires.txt
writing top-level names to pytorch3d.egg-info\top_level.txt
reading manifest file 'pytorch3d.egg-info\SOURCES.txt'
D:\HF_avatar\HF-Avatar-main\pytorch3d\setup.py:69: UserWarning: The environment variable CUB_HOME
was not found. NVIDIA CUB is required for compilation and can be downloaded from https://github.com/NVIDIA/cub/releases
. You can unpack it to a location of your choice and set the environment variable CUB_HOME
to the folder containing the CMakeListst.txt
file.
"The environment variable CUB_HOME
was not found. "
Traceback (most recent call last):
File "
Sorry. Our code does not support win10 and we only test it on ubuntu 18.0. But some users run it on win11 successfully. Please see #5.
ok @hzhao1997, thank you for the reference, I am facing one major issue related to 3090 GPU architecture while setup, are you guys had faced this in ubuntu system?
ok @hzhao1997, thank you for the reference, I am facing one major issue related to 3090 GPU architecture while setup, are you guys had faced this in ubuntu system?
did you solve this problem? I also meet this problem, and can not make file in dirt correct.