lyuwenyu / RT-DETR

[CVPR 2024] Official RT-DETR (RTDETR paddle pytorch), Real-Time DEtection TRansformer, DETRs Beat YOLOs on Real-time Object Detection. 🔥 🔥 🔥
Apache License 2.0
2.61k stars 303 forks source link

训练报错 #261

Open binghan-iOS opened 7 months ago

binghan-iOS commented 7 months ago

root@hanbing-XPS-8960:/home/hanbing/project/RT-DETR/rtdetr_paddle# python3 tools/train.py -c configs/rtdetr/rtdetr_r50vd_6x_coco.yml --eval Error: Can not import paddle core while this file exists: /usr/local/lib/python3.10/dist-packages/paddle/fluid/libpaddle.so Traceback (most recent call last): File "/home/hanbing/project/RT-DETR/rtdetr_paddle/tools/train.py", line 30, in import paddle File "/usr/local/lib/python3.10/dist-packages/paddle/init.py", line 25, in from .framework import monkey_patch_variable File "/usr/local/lib/python3.10/dist-packages/paddle/framework/init.py", line 17, in from . import random # noqa: F401 File "/usr/local/lib/python3.10/dist-packages/paddle/framework/random.py", line 16, in import paddle.fluid as fluid File "/usr/local/lib/python3.10/dist-packages/paddle/fluid/init.py", line 36, in from . import framework File "/usr/local/lib/python3.10/dist-packages/paddle/fluid/framework.py", line 37, in from . import core File "/usr/local/lib/python3.10/dist-packages/paddle/fluid/core.py", line 338, in raise e File "/usr/local/lib/python3.10/dist-packages/paddle/fluid/core.py", line 274, in from . import libpaddle ImportError: libcudart.so.10.2: cannot open shared object file: No such file or directory

lyuwenyu commented 7 months ago

貌似是paddle没安装对 请先根据机器的软件信息找到对应的paddle正确安装