C医生
2019-03-26 09:10TypeError找不到解决方法,求教各位大佬
Keras做图像2分类,一直报错,提示:
TypeError Traceback (most recent call last)
D:\Anaconda3\lib\site-packages\theano\compile\pfunc.py in rebuild_collect_shared(outputs, inputs, replace, updates, rebuild_strict, copy_inputs_over, no_default_updates)
192 update_val = store_into.type.filter_variable(update_val,
--> 193 allow_convert=False)
194 except TypeError:
D:\Anaconda3\lib\site-packages\theano\tensor\type.py in filter_variable(self, other, allow_convert)
233 other=other,
--> 234 self=self))
235
TypeError: Cannot convert Type TensorType(int64, scalar) (of Variable Elemwise{add,no_inplace}.0) into Type TensorType(int32, scalar). You can try to manually convert Elemwise{add,no_inplace}.0 into a TensorType(int32, scalar).
求教各位大佬,怎么能解决?
- 点赞
- 回答
- 收藏
- 复制链接分享
0条回答
为你推荐
- python错误TypeError: request() got an unexpected keyword argument 'date'
- python
- 2个回答
- VUE TypeError: Cannot read property 'site' of undefined
- vue.js
- javascript
- 2个回答
- app.model.Classes.hasMany找不到属性,该引用的也引用了
- mysql
- node.js
- 1个回答
- Python 3.7 使用sorted()函数对列表进行不区分大小写排序时出现TypeError: lower() takes no arguments (1 given)
- python
- 2个回答
- 在promise axios.all中找不到数据
- vue.js
- laravel
- php
- 1个回答