andrewjong / ShineOn-Virtual-Tryon

Code for "ShineOn: Illuminating Design Choices for Practical Video-based Virtual Clothing Try-on", accepted at WACV 2021 Generation of Human Behavior Workshop.
131 stars 31 forks source link

Error when runing "bash install.sh" #135

Open Vannaz opened 2 years ago

Vannaz commented 2 years ago

ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1509, in _run_ninja_build subprocess.run( File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 21, in setup( File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/init.py", line 163, in setup return distutils.core.setup(**attrs) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/command/install.py", line 67, in run self.do_egg_install() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/command/install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 175, in run cmd = self.call_command('install_lib', warn_dir=0) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 161, in call_command self.run_command(cmdname) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 11, in run self.build() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/command/install_lib.py", line 107, in build self.run_command('build_ext') File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run _build_ext.run(self) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions build_ext.build_extensions(self) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 208, in build_extension _build_ext.build_extension(self, ext) File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension objects = self.compiler.compile(sources, File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 469, in unix_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1228, in _write_ninja_file_and_compile_objects _run_ninja_build( File "/headless/anaconda3/envs/sams-pt1.6/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension

I use the cuda-9.0 and cudnn-7.4. I've tried a few things, but it still doesn't work. Has anyone solved this error?