EvelynFan / FaceFormer

[CVPR 2022] FaceFormer: Speech-Driven 3D Facial Animation with Transformers
MIT License
778 stars 133 forks source link

transformer decoder time consuming problem #18

Open wangjio opened 2 years ago

wangjio commented 2 years ago

Hi,I am a novice in Transformer. In function 'predict()', I noticed that the time consuming of transformer decoder in for loop is not stable. The average time of one loop is about 2ms. But there always exists some peak. Do you have any idea? Thanks!

截屏2022-04-27 下午2 42 24