BLOG main image
분류 전체보기 (12)
[Python] Tips (1)
잡답 (2)
Programing - python3 (0)
Blockchain - Bitcoin - 4th .. (0)
Visitors up to today!
Today hit, Yesterday hit
daisy rss
tistory 티스토리 가입하기!
2019. 7. 17. 22:11

Keras.application 에는 ResNeXt101 등이 없음. Keras_application을 import 하면 존재하는데,

문제는 이걸 수행 시 아래와 같은 에러가 발생한다.

 

AttributeError: 'NoneType' object has no attribute 'image_data_format'

 

이의 해결책으로 

import keras

keras_application.resnext.ResNeXt101(input_shape, input_tensor = None, include_top = False, weights = 'imagenet',

        backend = keras.backend, layers = keras.layers, models = keras.models, utils = keras.utils)

를 사용하면 된다.