dyffusion icon indicating copy to clipboard operation
dyffusion copied to clipboard

Errors in running oisst_pacific_interpolation

Open BlackRab opened this issue 6 months ago • 2 comments

Hi. When I runing: python run.py experiment=oisst_pacific_interpolation It occured:

Error executing job with overrides: ['experiment=oisst_pacific_interpolation']
Traceback (most recent call last):
  File "/mpathc/wpeng/codes/python_github_2/dyffusion-main/run.py", line 22, in <module>
    main()
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/main.py", line 94, in decorated_main
    _run_hydra(
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
    _run_app(
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/_internal/utils.py", line 457, in _run_app
    run_and_report(
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
    raise ex
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
    return func()
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/_internal/utils.py", line 458, in <lambda>
    lambda: hydra.run(
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/_internal/hydra.py", line 132, in run
    _ = ret.return_value
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/core/utils.py", line 260, in return_value
    raise self._return_value
  File "/mpathc/wpeng/codes/0_python_env/diffusers/lib/python3.10/site-packages/hydra/core/utils.py", line 186, in run_job
    ret.return_value = task_function(task_cfg)
  File "/mpathc/wpeng/codes/python_github_2/dyffusion-main/run.py", line 12, in main
    return run_model(config)
  File "/mpathc/wpeng/codes/python_github_2/dyffusion-main/src/train.py", line 40, in run_model
    config = cfg_utils.extras(config, if_wandb_run_already_exists="resume")
  File "/mpathc/wpeng/codes/python_github_2/dyffusion-main/src/utilities/config_utils.py", line 246, in extras
    other_seed = other_run.config.get("seed")
AttributeError: 'str' object has no attribute 'get'

How can I fix it? Looking forward to your reply. Thanks.

BlackRab avatar Oct 26 '25 09:10 BlackRab

Thanks for pointing this out. This might be related to a wandb version issue, but not super sure. I pushed a work-around that should work regardless. Please try that and let me know if it works/have any other issues!

salvaRC avatar Oct 27 '25 17:10 salvaRC

Thanks for your reply! I downgraded the version of wandb from 0.22.2 to 0.16.0, and it worked fine! Thanks!

I'd also like to apply the DYffusion model to my own dataset, but understanding the entire model is a daunting task for me (I'm new to deep learning), so I'm unsure how to get it working on my dataset. Could you offer some advice? I've also tried using AI to achieve this goal, but I'm still encountering numerous issues. I look forward to your response and would greatly appreciate any advice.

BlackRab avatar Oct 28 '25 02:10 BlackRab