AssertionError是怎么回事呢?

来源:7-3 keras实现人工神经网络

珍_Lovely

2018-10-05 18:22

Traceback (most recent call last):

  File "D:/untitled/python/7_keras.py", line 2, in <module>

    from keras.models import Sequential

  File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\keras\__init__.py", line 3, in <module>

    from . import utils

  File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\keras\utils\__init__.py", line 6, in <module>

    from . import conv_utils

  File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\keras\utils\conv_utils.py", line 9, in <module>

    from .. import backend as K

  File "C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\keras\backend\__init__.py", line 44, in <module>

    assert _image_data_format in {'channels_last', 'channels_first'}

AssertionError

写回答 关注

0回答

还没有人回答问题,可以看看其他问题

Python数据分析-基础技术篇

使用Python进行数据分析的基础模块简介

93613 学习 · 277 问题

查看课程

相似问题