xxlong0 / Wonder3D

Single Image to 3D using Cross-Domain Diffusion for 3D Generation
https://www.xxlong.site/Wonder3D/
GNU Affero General Public License v3.0
4.8k stars 385 forks source link

I get a series of errors after using the latest code #41

Open RexLeeGrey opened 1 year ago

RexLeeGrey commented 1 year ago

Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/test_mvdiffusion_seq.py", line 333, in main(cfg) File "/mnt/d/AIGC/Wonder3D/test_mvdiffusion_seq.py", line 260, in main logger.warn( NameError: name 'logger' is not defined Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/venv/bin/accelerate", line 8, in sys.exit(main()) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 47, in main args.func(args) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/launch.py", line 994, in launch_command simple_launcher(args) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/launch.py", line 636, in simple_launcher raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) subprocess.CalledProcessError: Command '['/mnt/d/AIGC/Wonder3D/venv/bin/python', 'test_mvdiffusion_seq.py', '--config', 'configs/mvdiffusion-joint-ortho-6views.yaml']' returned non-zero exit status 1.

Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/test_mvdiffusion_seq.py", line 335, in main(cfg) File "/mnt/d/AIGC/Wonder3D/test_mvdiffusion_seq.py", line 271, in main validation_dataset = MVDiffusionDataset( File "/mnt/d/AIGC/Wonder3D/mvdiffusion/data/single_image_dataset.py", line 146, in init image, alpha = self.load_image(os.path.join(self.root_dir, file), bg_color, return_type='pt') AttributeError: 'SingleImageDataset' object has no attribute 'root_dir' Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/venv/bin/accelerate", line 8, in sys.exit(main()) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 47, in main args.func(args) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/launch.py", line 994, in launch_command simple_launcher(args) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/launch.py", line 636, in simple_launcher raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) subprocess.CalledProcessError: Command '['/mnt/d/AIGC/Wonder3D/venv/bin/python', 'test_mvdiffusion_seq.py', '--config', 'configs/mvdiffusion-joint-ortho-6views.yaml']' returned non-zero exit status 1.

Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/test_mvdiffusion_seq.py", line 335, in main(cfg) File "/mnt/d/AIGC/Wonder3D/test_mvdiffusion_seq.py", line 271, in main validation_dataset = MVDiffusionDataset( File "/mnt/d/AIGC/Wonder3D/mvdiffusion/data/single_image_dataset.py", line 148, in init image, alpha = self.load_image(os.path.join(self.root_dir, file), bg_color, return_type='pt') File "/mnt/d/AIGC/Wonder3D/mvdiffusion/data/single_image_dataset.py", line 212, in load_image image_input = Image.open(img_path) AttributeError: 'NoneType' object has no attribute 'open' Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/venv/bin/accelerate", line 8, in sys.exit(main()) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 47, in main args.func(args) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/launch.py", line 994, in launch_command simple_launcher(args) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/accelerate/commands/launch.py", line 636, in simple_launcher raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) subprocess.CalledProcessError: Command '['/mnt/d/AIGC/Wonder3D/venv/bin/python', 'test_mvdiffusion_seq.py', '--config', 'configs/mvdiffusion-joint-ortho-6views.yaml']' returned non-zero exit status 1.

RexLeeGrey commented 1 year ago

When I downgraded back to the October 30th version everything was fine

xxlong0 commented 1 year ago

It's a version conflict, I fixed it. Thanks!

Genshin-Impact-king commented 1 year ago

It's a version conflict, I fixed it. Thanks!

i also met this situation too.have it been solved?