简体   繁体   English

有没有办法组合 2 个预训练的 tensorflow 模型?

[英]Is there a way to combine 2 pretrained tensorflow Models?

I have trained a TensorFlow classification model.我已经训练了一个 TensorFlow 分类 model。 Same model with different loaded weights classifies different classes better.相同的 model 具有不同的加载权重,可以更好地分类不同的类。

Is it possible to combine same model with different weights to increase its performance?是否可以将相同的 model 与不同的权重组合以提高其性能?

Yes, you can combine both their results by averaging out the final logits.是的,您可以通过平均最终的 logits 来组合它们的结果。 Then, finding the final classification.然后,找到最终的分类。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM