Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

conf is of 'NoneType' #5

Closed
alephpi opened this issue Feb 13, 2023 · 1 comment
Closed

conf is of 'NoneType' #5

alephpi opened this issue Feb 13, 2023 · 1 comment

Comments

@alephpi
Copy link

alephpi commented Feb 13, 2023

Hi, thanks for your work!
However, when trying to run train.py, I encounter the following error. The conf object created by omegaconf is of NoneType.

  File "E:\WORKS\CS\ddsp-pytorch\train\train.py", line 26, in <module>   
    config = setup(default_config="../configs/violin.yaml")
  File "E:\WORKS\CS\ddsp-pytorch\train\trainer\io.py", line 119, in setup
    conf.save(logpath[:-4] + ".yaml")
TypeError: 'NoneType' object is not callable

Nothing changed from your scripts. And I skip step 1-5 since I just want to check the default experiment on violin. Could you give any insights on it?

I'm using omegaconf==2.0.6

@alephpi
Copy link
Author

alephpi commented Feb 13, 2023

Well, indeed due to the imcompatibility of version, omegaconf==1.4.0 works well. Refer to omry/omegaconf#66

@alephpi alephpi closed this as completed Feb 13, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant