我正在尝试在R中创建一些神经网络,在tensorflow anaconda环境中使用tensorflow上的kerasR包。200, input_shape = 13))Error in py_call_impl(callable, dots$args, dots$keywords) :
TypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed valu
line 61, in _SatisfiesTypeConstraintTypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64self.sampler = self.sampler(self.z)
我正在上斯坦福大学的CS224n课程。我在依赖项解析器的assignment2 q2_parser_model.py中遇到错误 ", ".join(dtypes.as_dtype(x).name for x in allowed_list)))
TypeError: DataType float32</em
line 61, in _SatisfiesTypeConstraintTypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64培训和验证数据的形状和类型:
X training: