Skip to content
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

Import Error #74

Open
Dratlan opened this issue Sep 11, 2024 · 1 comment
Open

Import Error #74

Dratlan opened this issue Sep 11, 2024 · 1 comment

Comments

@Dratlan
Copy link

Dratlan commented Sep 11, 2024

Traceback (most recent call last):
File "", line 1, in
File "/workspace/nas-data/code/gan_research-dev/DCNv4/DCNv4_op/DCNv4/init.py", line 1, in
from .functions import DCNv4Function, FlashDeformAttnFunction
File "/workspace/nas-data/code/gan_research-dev/DCNv4/DCNv4_op/DCNv4/functions/init.py", line 10, in
from .flash_deform_attn_func import FlashDeformAttnFunction
File "/workspace/nas-data/code/gan_research-dev/DCNv4/DCNv4_op/DCNv4/functions/flash_deform_attn_func.py", line 19, in
from DCNv4 import ext
ImportError: cannot import name 'ext' from partially initialized module 'DCNv4' (most likely due to a circular import) (/workspace/nas-data/code/gan_research-dev/DCNv4/DCNv4_op/DCNv4/init.py)
how to solve a circular import in this code?

@ZhangQianZhe
Copy link

I meet the same queHello, I encountered the same error as you, I checked the code file, and did not find the ext file, May I ask you to find a solutionstion,do you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants