-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dcn添加偏置,出现Nan错误 #3146
Comments
建议您通过在网络中插入Print op定位出现异常的具体某一层。另外,出现NAN也有可能是脏数据导致的。 |
请问这个代码是哪个库下面的,有链接吗? |
|
_**paddle.fluid.core.EnforceNotMet:**_ Invoke operator auc error.
Python Callstacks:
File "/usr/lib64/python2.7/site-packages/paddle/fluid/framework.py", line 1712, in append_op
attrs=kwargs.get("attrs", None))
File "/usr/lib64/python2.7/site-packages/paddle/fluid/layer_helper.py", line 43, in append_op
return self.main_program.current_block().append_op(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/paddle/fluid/layers/metric_op.py", line 172, in auc
"StatNegOut": [batch_stat_neg]
File "dcn1.py", line 221, in ctr_wide_deep_model
auc_var, batch_auc_var, auc_states = fluid.layers.auc(input=predict, label=label)
File "dcn1.py", line 238, in train
datas, predict, loss, auc, auc_batch = ctr_wide_deep_model()
File "dcn1.py", line 369, in
train()
C++ Callstacks:
Enforce failed. Expected predict_data <= 1, but received predict_data:-nan > 1:1.
The predict data must less or equal 1. at [/home/amy/eason/install/Paddle/paddle/fluid/operators/metrics/auc_op.h:80]
PaddlePaddle Call Stacks:
The text was updated successfully, but these errors were encountered: