提交 b37bb9b8 编写于 作者: Z zhengya01

add ce for ELMo

上级 a703e023
......@@ -2,18 +2,17 @@
import os
import sys
#sys.path.insert(0, os.environ['ceroot'])
sys.path.append('.')
sys.path.insert(0, os.environ['ceroot'])
from kpi import CostKpi, DurationKpi, AccKpi
#### NOTE kpi.py should shared in models in some way!!!!
train_loss_card1_kpi = CostKpi('train_loss_card1', 0.02, 0, actived=True)
train_loss_card1_kpi = CostKpi('train_loss_card1', 0.005, 0, actived=True)
train_duration_card1_kpi = DurationKpi(
'train_duration_card1', 0.06, 0, actived=True)
train_loss_card4_kpi = CostKpi('train_loss_card4', 0.02, 0, actived=True)
'train_duration_card1', 0.01, 0, actived=True)
train_loss_card4_kpi = CostKpi('train_loss_card4', 0.01, 0, actived=True)
train_duration_card4_kpi = DurationKpi(
'train_duration_card4', 0.06, 0, actived=True)
'train_duration_card4', 0.01, 0, actived=True)
tracking_kpis = [
train_loss_card1_kpi,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册