【文件属性】:
文件名称:bitemperedloss-tf:Tensorflow 2.0 的简单 Bi Tempered Loss 实现
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-29 06:29:05
Python
双调律损失-tf
Tensorflow 2.0 的简单 Bi-Tempered Loss 实现
这不是官方支持的 Google 产品。
该方法的概述在这里:
原始仓库: :
改编自: :
论文:“基于 Bregman Divergences 的 Robust Bi-Tempered Logistic Loss”( )
要使用与原始存储库中的测试相似的值来测试损失函数,请运行以下文件:
python test_loss.py
要求
张量流 >= 2.0
在 Tensorflow 中的使用
在 Tensorflow 中作为任何损失函数调用,例如:
import tensorflow as tf
from tf_bi_tempered_loss import BiTemperedLogisticLoss
pretrained_model = tf.keras.appli
【文件预览】:
bitemperedloss-tf-main
----tf_bi_tempered_loss.py(4KB)
----test_loss.py.py(1KB)
----.gitignore(11B)
----README.md(1KB)