PaddlePaddle / PaddleVideo

Awesome video understanding toolkits based on PaddlePaddle. It supports video data annotation tools, lightweight RGB and skeleton based action recognition model, practical applications for video tagging and sport action detection.
Apache License 2.0
1.52k stars 379 forks source link

AttributeError: module 'paddle.fluid.layers' has no attribute 'dynamic_lstm' #647

Open tonyliu088 opened 1 year ago

tonyliu088 commented 1 year ago

paddle-gpu=2.5.1 ,运行python3 videotag_test.py 报错,AttributeError: module 'paddle.fluid.layers' has no attribute 'dynamic_lstm' ,请问这个怎么改?

tonyliu088 commented 1 year ago

为啥2.0的代码里还会有paddle.fluid.layers

lstmforward, = paddle.fluid.layers.dynamic_lstm(input=lstm_forward_fc, size=self.lstm_size * 4, is_reverse=False, name='rgb_lstm_forward')

Wei-Wu233 commented 11 months ago

同问