hzwer / hzwer/Practical-RIFE

model.update中的loss_cons相关问题

Open
#53 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1k
Forks
131
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with RIFEv3_HD.py and inspect the Model.update function in the v4.13 and v4.14 code mentioned in the issue. Trace where loss_cons is defined, calculated, and used, then review the pretrained-model fine-tuning path. Done means documenting the loss's purpose and whether it affects fine-tuning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.