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.7k stars 2.87k forks source link

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

Open SummerLam opened 1 week ago

SummerLam commented 1 week 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 week ago

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