HeliosZhao / Animate124

Animate124: Animating One Image to 4D Dynamic Scene
Apache License 2.0
154 stars 5 forks source link

Missing key lambda_sd_img #1

Closed andytriboletti closed 5 months ago

andytriboletti commented 5 months ago

When I run the following test.sh I get this error:

raise ConfigKeyError(f"Missing key {key!s}")

omegaconf.errors.ConfigKeyError: Missing key lambda_sd_img full_key: loss.lambda_sd_img object_type=dict

test.sh: seed=0 gpu=0 exp_root_dir=outputs DATA_DIR="panda-dance" STATIC_PROMPT="a high resolution DSLR image of panda" DYNAMIC_PROMPT="a panda is dancing" CN_PROMPT="a is dancing"

--------- Stage 1 (Static Stage) ---------

python launch.py --config custom/threestudio-animate124/configs/animate124-stage1.yaml --train --gpu $gpu \ data.image.image_path=custom/threestudio-animate124/load/${DATA_DIR}/_rgba.png \ system.prompt_processor.prompt="${STATIC_PROMPT}"

HeliosZhao commented 5 months ago

Hi, can you show the full traceback? I didn't see this error before

andytriboletti commented 5 months ago

I added some code in custom/threestudio-animate124/configs/animate124-stage1.yaml

lambda_sd_img: 0.01

don't know what it means. it got me past that error.

andytriboletti commented 5 months ago

add lambda_sd_img: 0.01 to yaml file

gganjang commented 4 months ago

Would you update .yaml file so that other people can save the time? It took me a while to figure out the proper value for lambda_sd_img until I read this issue.