CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 45
Releases: JonathanCMitchell/mobilenet_v2_keras
Updates new weights
Compare
Re-loads the weights from the tensorflow hub module.
These weight files can be used with keras's mobilenetv2 model.
Assets 46
- 6.82 MB
2018-05-03T00:31:58Z - 1.93 MB
2018-05-03T00:31:58Z - 6.82 MB
2018-05-03T00:31:50Z - 1.93 MB
2018-05-03T00:31:50Z - 6.82 MB
2018-05-03T00:31:43Z - 1.93 MB
2018-05-03T00:31:43Z - 6.82 MB
2018-05-03T00:27:57Z - 1.93 MB
2018-05-03T00:27:57Z - 6.82 MB
2018-05-03T00:32:10Z - 1.93 MB
2018-05-03T00:32:09Z -
2018-04-30T19:03:15Z -
2018-04-30T19:03:15Z - Loading
MobileNetV2 for tensorflow backend
Compare
I designed the MobileNetV2 model to mimic that of MobileNetV1. The usage is the same, and it can be used in very similar applications in a plug and play manner. I attempted to mimic the style writtein in the original mobilenet: https://github.com/keras-team/keras/blob/master/keras/applications/mobilenet.py
To use MobileNetV2 a user simply has to import it the same way they would import MobileNet
from keras.applications.mobilenetv2 import MobileNetV2
from keras.layers import Input
input_tensor = Input(shape=(224,224, 3)) # or you could put (None, None, 3) for shape
model = MobileNetV2(input_tensor = input_tensor, alpha = 1.0, include_top = True, weights=’imagenet’)
# Now you have a fully loaded model.
Assets 46
v0.1 Pre-Release - just uploading binaries
Compare
This is a keras implementation of MobilenetV2 with imagenet weights for a width_multiplier = 1.0 and input image resolution (224, 224, 3) RGB that is pre-trained on the imagenet challenge.
Individual weights are extracted in the jupyter notebook called "mobilenet_example" and saved to a weights
directory, and a layer_guide is provided inside layer_guide.p
that has descriptions for all the layers received from reading the Tensorflow checkpoints.
A testing script has been provided and can be found in test_mobilenet.py
.