问题描述
我正尝试使用此链接https://github.com/GoogleCloudPlatform/tf-estimator-tutorials/blob/master/00_Miscellaneous/tfx/02_tfx_end_to_end.ipynb使用tfx训练一个mo鼠 我在调用run_experiment()函数时遇到问题
错误:InvalidArgumentError:断言失败:[标签必须> = 0] [条件x> = 0并不按元素保存:] [x(head / loss / Cast:0)=] [[-1] [-1] [-1] ...] [[{{node Assert}}]]
我的run_experiment函数
[HttpPost]
[Route("/ProcessAssignment")]
public IActionResult ProcessAssignment(AssignmentDetail model)
{
//var response = new AssignmentResponseModel();
//try
//{
// //can call function here to check the incomlpete JSON
// //validateIncompleteJSON();
// //var result = await _mediator.Send(queryDetails);
// //response = result.Response;
//}
//catch (Exception ex)
//{
// throw exception;
//}
//return response;
if (ModelState.IsValid)
{
return Ok("Success");
}
return BadRequest();
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)