nerdyrodent/VQGAN-CLIP

ImportError: cannot import name 'instantiate_from_config'

ReeceKetley opened this issue · 1 comments

Hi,

After lots of issues (setuputils version error) and using the nightly build of pytorch i now run into a new problem:

ImportError: cannot import name 'instantiate_from_config' from partially initialized module 'main' (most likely due to a circular import) (D:\AiArt\vqgan-clip-main\main.py)

Things i've tried:

conda clean --all (then running the whole setup again)
conda update

Not really sure what else to try?

edit: was able to fix this by simply renaming main.py to something else.