New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A circular import in utils/misc.py #119
Comments
I think it is a circular imports problem for utils, please solve it. |
Could you please pull the repository and check it again? |
is there any update on this? I am still getting this issue
|
could you give me the details of your environment including os, python, and torch version? |
I am using ubuntu 18.06 with following versions |
Lastly, can you give me a command to execute the code? |
Thankyou for swift response. I also tried different tags and log branch. The issue persists. I have tried all possible combination with and without terminal args.
|
Well from the above command, it seems like you put the wrong cfg path. (should probably be src/configs/CIFAR10/LGAN.yaml) Could you try again with proper cfg path?
…________________________________
From: Muaz Maqbool ***@***.***>
Sent: Thursday, January 13, 2022 8:21:33 PM
To: POSTECH-CVLab/PyTorch-StudioGAN ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [POSTECH-CVLab/PyTorch-StudioGAN] A circular import in utils/misc.py (Issue #119)
Thankyou for swift response. I also tried different tags and log branch. The issue persists. I have tried all possible combination with and without terminal args.
python3 src/main.py -t -metrics is fid prdc -cfg ./configs/CIFAR10/LGAN.yaml -data ./data/ -save ./results/
—
Reply to this email directly, view it on GitHub<#119 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AORDYAIGKY3GNMATP5WK3CTUV2YT3ANCNFSM5KWR4TNA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I copied the wrong command (have fixed it now). I am using the correct path and the issue persists |
I have fixed the error by adding following code: Following files are effected:
But this is just a temporary fix. |
I have found that the problem is a circular import problem that occurs when using python 3.6 version. I solved the problem, so please let me know if there still exists an import issue by pulling the main branch. Thank you. Minguk |
I encountered this problem when running the following command
The text was updated successfully, but these errors were encountered: