您好,我目前得到这个错误,当我试图测试CNN模型。)print(CATEGORIES[prediction.index(max(prediction))]) 当我运行代码时,我得到了错误\tensorflow\python\keras\engine\training_utils.py", line 265, in standardize_single_array
if (x.shapeis not None and len(x.shape
然而,我得到了AttributeError: 'str' object has no attribute 'shape'".,我查看了所有发布的关于这个问题的解决方案,但我不能解决这个问题。binary_crossentropy', metrics=['accuracy'])以下是错误代码)
263 ret
已获取以下块的: AttributeError:'str‘对象没有属性'text’错误: `version = driver.find_element_by_id('com.project.PROJECT:id/version').text for i in version:
if 'Version : 1.2.0.133' == str(i):NAS
我不断地遇到这个错误,我希望你能改正它。Their GPA is {}'.format(member.name, member.grade, member.school. member.GPA))Traceback (most recentTheir GPA is {}'.format(member.name, member.grade, member.school. member.GPA))
AttributeError: 'str'object has no attri