- 博客(3)
- 问答 (4)
- 收藏
- 关注
原创 解决flask中调用keras和TensorFlow时出现的bug:AttributeError: ‘_thread._local‘ object has no attribute ‘value‘
解决flask中调用keras2.3.1和TensorFlow2.1.0时出现的bug:AttributeError: '_thread._local' object has no attribute 'value'初见bug解决方法后记初见bug最近在做自然语言处理、知识图谱等方面的课题研究,需要开发一个系统,并将深度学习的模型部署上去。于是乎就打算用flask来搭建keras和TensorFlow的服务。使用的flask版本为1.1.1,keras版本为2.3.1,TensorFlow版本为2.1
2021-04-23 20:09:24
1286
1
原创 求助在生产tfrecord时发生错误TypeError
鄙人是一位TensorFlow萌新,在尝试生成tfrecord文件时发生错误,请求大佬解答,代码如下:def serialize_example(x, y): """Converts x, y to tf.train.Example and serialize""" input_feautres = tf.train.FloatList(value = x) label = tf.train.FloatList(value = y) features = tf.train.
2020-09-19 20:37:59
157
空空如也
把大疆无人机倾斜摄影生成的模型导入到vissim
2025-02-28
Python中不同字体产生的问题
2022-08-23
Python中不同字体产生的问题
2022-08-23
keras中的class weight是如何工作的?
2022-07-08
使用TF2.4 构建bert-Bilstm-crf,出现这样的warning:“CRF Decoding does not work with KerasTensors in TF2.4”,怎么解决?
2022-05-19
在flask中调用keras报错
2021-04-22
TA创建的收藏夹 TA关注的收藏夹
TA关注的人