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)
를 사용하면 된다.