deep-learning-models icon indicating copy to clipboard operation
deep-learning-models copied to clipboard

Keras code and weights files for popular deep learning models.

Results 88 deep-learning-models issues
Sort by recently updated
recently updated
newest added

Here is the error (vgg19.py) : ``` Traceback (most recent call last): File "vgg19.py", line 195, in model = VGG19(include_top=True, weights='imagenet') File "vgg19.py", line 100, in VGG19 include_top=include_top) TypeError: _obtain_input_shape()...

Hello everyone I encountered a strange problem as I was trying to add pre-trained InceptionResNetV2 as my conv_base. Concretely, when I did ```Python import tensorflow as tf from keras import...

if I delete model.load_weights() or just use 1 worker 0 ps, it works. the following is exception stack: File "/home/work/tfonspark/rudder/apps/image_classify_inception_v3.py", line 78, in get_model input_shape=(Width, Height, 3)) File "./rudder.zip/rudder/models/inception_v3.py", line...

@fchollet thank you so much for these models! It would be awesome (and challenging) to add models to cover tasks like sentences similarity, nlp (pos, ner, etc), text classification, etc....

I want to use vgg16 to classify cat and dog.But this algorithm will give more detailed class. Can I change this code to classify my need?

The Resnet50 example fails on TensorFlow-GPU. The example works well on the non GPU TensorFlow. It fails on load_weights. Parts of the traceback: File "C:/Users/gslab/Downloads/resnet50.py", line 251, in ResNet50 model.load_weights(weights_path)...

In ksimonyan/VGG_ILSVRC_16_layers_deploy.prototxt, it states: > The input images should be zero-centered by mean pixel (rather than mean image) subtraction. Namely, the following BGR values should be subtracted: [103.939, 116.779, 123.68]....

Hi, I have been trying to follow the example script of ``` model = ResNet50(weights='imagenet') img_path = '/data/dsp_emerging/ugwz/elephants.jpg' img = image.load_img(img_path, target_size=(224, 224)) x = image.img_to_array(img) x = np.expand_dims(x, axis=0)...

Are you sure about your ResNet architecture? In the document https://arxiv.org/pdf/1512.03385.pdf At the beginning of the network we have ``` x = identity_block(x, 3, [64, 64, 256], stage=2, block='c') x...

![488452559](https://cloud.githubusercontent.com/assets/12381965/24861862/cecf8bb6-1e2c-11e7-96cb-fd3aab2bda27.jpg) ![841787571](https://cloud.githubusercontent.com/assets/12381965/24861864/d1f7e3ec-1e2c-11e7-8efc-6a97e05d12bc.jpg) ![1657741171](https://cloud.githubusercontent.com/assets/12381965/24861870/d4378afe-1e2c-11e7-951b-d6b98b4696af.jpg) I finetuned vgg-16 on my datasets, it works correctly, but when I turns to ResNet50, just changed the model and the weights, but it reports error like...