Traceback (most recent call last):


 "tools/infer_simple.py", line 42, in <module>

import core.test_engine as infer_engine


 "/home/user523/zjs/detectron/lib/core/test_engine.py", line 36, in <module>

from datasets import task_evaluation
ImportError: cannot import name task_evaluation

Traceback (most recent call last):


 "D:/WorkProgram/PoseCheck/code/AlphaPose/scripts/demo_inference.py", line 13, in <module>

from alphapose.models import builder


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\__init__.py", line 1, in <module>

from .datasets import *
# noqa: F401,F403


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\datasets\__init__.py", line 1, in <module>

from .coco_det import Mscoco_det


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\datasets\coco_det.py", line 17, in <module>

from alphapose.models.builder import DATASET


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\models\__init__.py", line 1, in <module>

from .fastpose import FastPose


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\models\fastpose.py", line 10, in <module>

from .layers.SE_Resnet import SEResnet


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\models\layers\SE_Resnet.py", line 9, in <module>

from .dcn import DeformConv, ModulatedDeformConv


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\models\layers\dcn\__init__.py", line 1, in <module>

from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv,


 "D:\WorkProgram\PoseCheck\code\AlphaPose\alphapose\models\layers\dcn\deform_conv.py", line 9, in <module>

from . import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda'
