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

model.update中的loss_cons相关问题 #53

Open
guobzh3 opened this issue Jan 25, 2024 · 1 comment
Open

model.update中的loss_cons相关问题 #53

guobzh3 opened this issue Jan 25, 2024 · 1 comment

Comments

@guobzh3
Copy link

guobzh3 commented Jan 25, 2024

您好!我在阅读v4.13和v4.14的代码时,发现RIFEv3_HD.py的Model 类的update函数中,存在loss_cons的损失,但是并没有见到与该损失计算和使用相关的代码。请问一下,(1)该loss是什么含义?(2)如果有想在预训练参数的基础上对模型进行微调,需要关注该loss吗?谢谢您的解答!

@hzwer
Copy link
Owner

hzwer commented Jan 26, 2024

可以在这里找到训练代码,https://github.com/hzwer/Practical-RIFE/blob/main/README.md#model-training
理论可以看论文的蒸馏部分
我觉得可以不管这个 loss,只是个锦上添花和稳定前期训练的 trick

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