热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

AddinferenceerrormessagesinWITnotebookmode

Motivationforfeatures/changesIfamodelfailstoruninfer


  • Motivation for features / changes

If a model fails to run inference in WitWidget, no error is currently displayed so the user has no idea why WIT isn't working correctly. This change adds in proper error handling.

  • Technical description of changes

Updated jupyter and colab witwidget code so that if inference throws any python error, it is properly caught and sent to the frontend.
The frontend now displays that inference error in a toast and in the status message.
Also fixed a small bug where when comparing 2 regression models, the initial Facets Dive view doesn't compare the two models.

  • Screenshots of UI changes

errorwit

  • Detailed steps to verify changes work correctly (as executed by you)

Ran colab and jupyter notebooks with and without inference errors to see that the error message in both cases gets to the user.
Ran a two-model regression notebook to see proper default Dive display.

该提问来源于开源项目:tensorflow/tensorboard

addressed your comments, thanks


推荐阅读
author-avatar
小程序员
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有