yang-song / score_inverse_problems

Official repo for "Solving Inverse Problems in Medical Imaging with Score-Based Generative Models"
225 stars 25 forks source link

AttributeError: module 'config_config' has no attribute 'get_config' #5

Open tianzhijiaoziA opened 2 years ago

tianzhijiaoziA commented 2 years ago

Hello, I only use python-3.8, flax-0.5, jax-0.3.14. Reducing jax-0.2.1 or increasing -0.5.2 will result in similar error reports. Do you encounter similar situations after consulting 6082bb46b3a4f253eb98c08b267fa99

wangrongqian2019 commented 2 years ago

Have you solved the issue?I met the same question.

wly1998 commented 1 year ago

I met the same question too.

syf0518 commented 1 year ago

The config's value should be a path to a valid python file which contains a function called get_config() that returns a python object specifying a configuration.

YoungJaae commented 1 month ago

For this issue, you should change ml_collections.config_flags.config_flags file. Add from configs.default_cs_configs import get_default_configs as get_config to your code.