resnet
resnet copied to clipboard
keras-style API to ResNets (ResNet-50, ResNet-101, and ResNet-152)
Keras changed its 'applications' package from 'keras.applications' to 'keras_applications' I changed and tested this code on tensorflow 2.0 and keras 2.2.4tf
Please I'd like to change from keras.applications.imagenet_utils import _obtain_input_shape with from keras_applications.imagenet_utils import _obtain_input_shape How can I do that? Thanks
When using more current keras versions like 2.2.2 keras.applications.imagenet_utils can not be found because it has been moved to keras_applications.imagenet_utils ``` Traceback (most recent call last): File "example.py", line 1,...
and adds the example as a file and properly decoding imagenet predictions
Total memory: 7.92GiB Free memory: 7.28GiB 2017-12-07 14:19:22.480859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:976] DMA: 0 2017-12-07 14:19:22.480867: I tensorflow/core/common_runtime/gpu/gpu_device.cc:986] 0: Y 2017-12-07 14:19:22.480876: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1045] Creating TensorFlow device (/gpu:0) -> (device: 0, name:...