Created
June 23, 2019 13:34
-
-
Save mkmohangb/5221e3afc6221c749277d2b6b7c96897 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
try: | |
from keras_applications import resnext | |
except: | |
resnext = None | |
from tensorflow.python.keras.applications import keras_modules_injection | |
from tensorflow.python.util.tf_export import keras_export | |
@keras_export('keras.applications.resnext.ResNeXt50', | |
'keras.applications.ResNeXt50') | |
@keras_modules_injection | |
def ResNeXt50(*args, **kwargs): | |
return resnext.ResNeXt50(*args, **kwargs) | |
@keras_export('keras.applications.resnext.ResNeXt101', | |
'keras.applications.ResNeXt101') | |
@keras_modules_injection | |
def ResNeXt101(*args, **kwargs): | |
return resnext.ResNeXt101(*args, **kwargs) | |
@keras_export('keras.applications.resnext.decode_predictions') | |
@keras_modules_injection | |
def decode_predictions(*args, **kwargs): | |
return resnext.decode_predictions(*args, **kwargs) | |
@keras_export('keras.applications.resnext.preprocess_input') | |
@keras_modules_injection | |
def preprocess_input(*args, **kwargs): | |
return resnext.preprocess_input(*args, **kwargs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment