You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
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?
The text was updated successfully, but these errors were encountered: