安装paddledetection出错
Created by: yousong1992
按照安装流程一步一步走的 在进行到测试代码 用行test_architectures.py时 因为系统是win10,开发工具是pycharm,把里面的代码路径改成绝对路径后依然报错,不知道是为什么
错误提示如下: test_architectures.py::TestFasterRCNN::test_test <- decorator_helper.py test_architectures.py::TestFasterRCNN::test_train <- decorator_helper.py test_architectures.py::TestMaskRCNN::test_test <- decorator_helper.py PASSED [ 8%]PASSED [ 16%] test_architectures.py::TestMaskRCNN::test_train <- decorator_helper.py test_architectures.py::TestCascadeRCNN::test_test <- decorator_helper.py PASSED [ 25%]PASSED [ 33%] test_architectures.py::TestCascadeRCNN::test_train <- decorator_helper.py test_architectures.py::TestYolov3::test_test <- decorator_helper.py PASSED [ 41%]PASSED [ 50%]PASSED [ 58%] test_architectures.py::TestYolov3::test_train <- decorator_helper.py PASSED [ 66%] test_architectures.py::TestRetinaNet::test_test <- decorator_helper.py FAILED [ 75%] decorator_helper.py:21 (TestRetinaNet.test_test) args = (<ppdet.modeling.tests.test_architectures.TestRetinaNet testMethod=test_test>,) kwargs = {} prog = blocks { idx: 0 parent_idx: -1 } version { version: 1007001 }
startup_prog = blocks { idx: 0 parent_idx: -1 } version { version: 1007001 }
scope = <paddle.fluid.core_avx._Scope object at 0x000001F2FDF661B0>
def __fn__(*args, **kwargs):
prog = fluid.Program()
startup_prog = fluid.Program()
scope = fluid.core.Scope()
with fluid.scope_guard(scope):
with fluid.program_guard(prog, startup_prog):
with fluid.unique_name.guard():
fn(*args, **kwargs)