MCG-NJU / BasicTAD

BasicTAD: an Astounding RGB-Only Baselinefor Temporal Action Detection
Apache License 2.0
49 stars 6 forks source link

most likely due to a circular import #18

Open Zerobub opened 2 months ago

Zerobub commented 2 months ago

Traceback (most recent call last): File "tools/thumos/test_ab.py", line 12, in from vedatad.datasets import build_dataloader, build_dataset File "/home/sensorweb/zengrou/BasicTAD/vedatad/init.py", line 1, in from . import assembler, bridge, criteria, datasets, engines, misc, models File "/home/sensorweb/zengrou/BasicTAD/vedatad/assembler/init.py", line 1, in from .trainval import trainval File "/home/sensorweb/zengrou/BasicTAD/vedatad/assembler/trainval.py", line 6, in from vedatad.datasets import build_dataloader, build_dataset File "/home/sensorweb/zengrou/BasicTAD/vedatad/datasets/init.py", line 2, in from .custom import CustomDataset File "/home/sensorweb/zengrou/BasicTAD/vedatad/datasets/custom.py", line 11, in from vedatad.misc.evaluation import eval_map File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/evaluation/init.py", line 1, in from .mean_ap import average_precision, eval_map, print_map_summary File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/evaluation/mean_ap.py", line 8, in from vedatad.misc.segment import segment_overlaps File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/segment/init.py", line 1, in from .assigners import MaxIoUAssigner File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/segment/assigners/init.py", line 3, in from .max_iou_assigner import MaxIoUAssigner File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/segment/assigners/max_iou_assigner.py", line 6, in from ..iou_calculators import build_iou_calculator File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/segment/iou_calculators/init.py", line 2, in from .iou_calculator import SegmentOverlaps File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/segment/iou_calculators/iou_calculator.py", line 4, in from ..segment import segment_overlaps File "/home/sensorweb/zengrou/BasicTAD/vedatad/misc/segment/segment.py", line 6, in from vedacore.ops import batched_nms File "/home/sensorweb/zengrou/BasicTAD/vedacore/ops/init.py", line 1, in from .dcn import (DeformConv, DeformConvPack, DeformRoIPooling, File "/home/sensorweb/zengrou/BasicTAD/vedacore/ops/dcn/init.py", line 1, in from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv, File "/home/sensorweb/zengrou/BasicTAD/vedacore/ops/dcn/deform_conv.py", line 12, in from . import deform_conv_ext ImportError: cannot import name 'deform_conv_ext' from partially initialized module 'vedacore.ops.dcn' (most likely due to a circular import) (/home/sensorweb/zengrou/BasicTAD/vedacore/ops/dcn/init.py)