会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小筱痕
博客园
新随笔
联系
订阅
管理
2021年9月27日
Flask TypeError: Object of type int32 is not JSON serializable
摘要: 一、背景 label,score= model.predict(text) # 例如label =1,score =0.9 jsonify({"label":label,"score":score}) 1、报错 TypeError: Object of type int32 is not JSON
阅读全文
posted @ 2021-09-27 15:55 小筱痕
阅读(618)
评论(0)
推荐(0)
编辑
公告