Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章里写的推理时间0.007s是指HuBERT 和 ResNet1D总的时间吗? #4

Open
zgyh001 opened this issue Jan 10, 2024 · 1 comment

Comments

@zgyh001
Copy link

zgyh001 commented Jan 10, 2024

文中:Our backbone is built on a pretrained HuBERT model and a ResNet1D network, which preserves high-frequency details
of facial movements. During implementation, our backbone synthesizes one second of facial animations with 30 fps in only 0.007
seconds.

  1. 是指HuBERT 和 ResNet1D加一起的时间吗?
  2. 这个是在什么硬件上的速度啊?

谢谢!

@wuhaozhe
Copy link
Owner

您好,指的是加在一起的时间。要把mode设置成eval, with torch.no_grad():。在2080ti上的速度。
具体计算方式是: 在测试集上每一个测试样例都跑一遍的总时间/测试集的总时长。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants