|
发表于 2022-10-8 18:30:10
|
显示全部楼层
本帖最后由 whatsall 于 2022-10-8 18:34 编辑
转帖一下最新版本的官方教学。里面关于删不删inter_ab文件的说法供您参考。注意:更换SRC人脸需要删除ab,如果不更换,切勿删除。
Extra training and reuse of trained LIAE/LIAE RTM models - Deleting inter_ab and inter_b files explained:
What are inter_ab and _b files? These are parts of SAEHD models that use LIAE architecture (regardless of additional -U, -D, -T and -C variations), unlike DF architecture which has one commong inter file for both SRC and DST, LIAE features two inter files, inter_ab which contains latent code (representation) of both SRC and DST faces and additional inter_b that contains latent code of DST faces.
1. Delete inter_b file from your model folder when you want to reuse RTM model as a regular LIAE model on new DST and train the model all over starting with RW enabled (train as a regular model).
Applies to reusing trained LIAE model and changing DST but not SRC.
2. Delete inter_ab file when you want to create a new RTM model for different celebrity, replace SRC with new one, add random DST set and proceed with the same workflow as when creating new RTM model.
Applies to reusing trained LIAE model and changing SRC but not DST
3. Don't delete either inter_ab or inter_b when you want to perform additional training on target DST using your trained RTM model.
Doesn't apply to regular trained LIAE model reusal (may run into issue where your final predicted faces looks just like DST or have very low resemblance to SRC)
4. Delete both inter_ab and inter_b when you are reusing trained LIAE model in regular scenarios, both src/dst change or you run into issue where results look like DST, do note that this has similar effect to what happens when you disable pretraining, only encoders/decoders remain trained, all other data is removed, this means model in a way returns to a state as if it was just pretrained (not quite but closer to that than a trained state) which may cause training to take a bit longer.
In that case simply replace random DST with specific taget DST, start training with RW disabled。
|
|