PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.85k stars 2.9k forks source link

ImportError: cannot import name 'in_dynamic_or_pir_mode' from 'paddle.framework' #9157

Closed SummerLam closed 2 weeks ago

SummerLam commented 1 month ago

问题确认 Search before asking

请提出你的问题 Please ask your question

image after executing the training process of rtdetrv2, i got the import error stating that 'in_dynamic_or_pir_mode' can not be imported from 'paddle.framework' , i tried to downgrade and upgrade paddle versions, but it didnt help. May i know how can i resolve the issue?

cuicheng01 commented 1 month ago

Could you please tell me the versions of Paddle and PaddleDetection you are using?

TingquanGao commented 2 weeks ago

The issue has no response for a long time and will be closed. You can reopen or new another issue if are still confused.


From Bot