sherwinbahmani / 4dfy

4D-fy: Text-to-4D Generation Using Hybrid Score Distillation Sampling
https://sherwinbahmani.github.io/4dfy/
Apache License 2.0
288 stars 7 forks source link

Failed in the frist step #1

Closed r530044129 closed 7 months ago

r530044129 commented 7 months ago

hey, i failed in the first python, which is

python launch.py --config configs/fourdfy_stage_1.yaml --train --gpu 0 exp_root_dir=$exp_root_dir seed=0 system.prompt_processor.prompt="a dog riding a skateboard"

here is my log: dreamer@e9c9125073a7:~/threestudio$ python launch.py --config configs/fourdfy_stage_1.yaml --train --gpu 0 exp_root_dir=$exp_root_dir seed=0 system.prompt_processor.prompt="a dog riding a skateboard" Traceback (most recent call last): File "/home/dreamer/threestudio/launch.py", line 178, in main() File "/home/dreamer/threestudio/launch.py", line 102, in main cfg = load_config(args.config, cli_args=extras, n_gpus=n_gpus) File "/home/dreamer/threestudio/threestudio/utils/config.py", line 85, in load_config scfg = parse_structured(ExperimentConfig, cfg) File "/home/dreamer/threestudio/threestudio/utils/config.py", line 99, in parse_structured scfg = OmegaConf.structured(fields(**cfg)) File "", line 21, in init File "/home/dreamer/threestudio/threestudio/utils/config.py", line 75, in __post_init__ self.exp_dir = os.path.join(self.exp_root_dir, self.name) File "/usr/lib/python3.10/posixpath.py", line 76, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType

sherwinbahmani commented 7 months ago

Hi,

you need to set exp_root_dir to your output training directory in your bash script. I have updated the README and the bash script to reflect this.

Best, Sherwin

r530044129 commented 7 months ago

its work, thanks