File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 38
38
from .imagenet_utils import _obtain_input_shape
39
39
40
40
41
- DENSENET121_WEIGHT_PATH = 'https://github.com/taehoonlee /deep-learning-models/releases/download/densenet /densenet121_weights_tf_dim_ordering_tf_kernels.h5'
42
- DENSENET121_WEIGHT_PATH_NO_TOP = 'https://github.com/taehoonlee /deep-learning-models/releases/download/densenet /densenet121_weights_tf_dim_ordering_tf_kernels_notop.h5'
43
- DENSENET169_WEIGHT_PATH = 'https://github.com/taehoonlee /deep-learning-models/releases/download/densenet /densenet169_weights_tf_dim_ordering_tf_kernels.h5'
44
- DENSENET169_WEIGHT_PATH_NO_TOP = 'https://github.com/taehoonlee /deep-learning-models/releases/download/densenet /densenet169_weights_tf_dim_ordering_tf_kernels_notop.h5'
45
- DENSENET201_WEIGHT_PATH = 'https://github.com/taehoonlee /deep-learning-models/releases/download/densenet /densenet201_weights_tf_dim_ordering_tf_kernels.h5'
46
- DENSENET201_WEIGHT_PATH_NO_TOP = 'https://github.com/taehoonlee /deep-learning-models/releases/download/densenet /densenet201_weights_tf_dim_ordering_tf_kernels_notop.h5'
41
+ DENSENET121_WEIGHT_PATH = 'https://github.com/fchollet /deep-learning-models/releases/download/v0.8 /densenet121_weights_tf_dim_ordering_tf_kernels.h5'
42
+ DENSENET121_WEIGHT_PATH_NO_TOP = 'https://github.com/fchollet /deep-learning-models/releases/download/v0.8 /densenet121_weights_tf_dim_ordering_tf_kernels_notop.h5'
43
+ DENSENET169_WEIGHT_PATH = 'https://github.com/fchollet /deep-learning-models/releases/download/v0.8 /densenet169_weights_tf_dim_ordering_tf_kernels.h5'
44
+ DENSENET169_WEIGHT_PATH_NO_TOP = 'https://github.com/fchollet /deep-learning-models/releases/download/v0.8 /densenet169_weights_tf_dim_ordering_tf_kernels_notop.h5'
45
+ DENSENET201_WEIGHT_PATH = 'https://github.com/fchollet /deep-learning-models/releases/download/v0.8 /densenet201_weights_tf_dim_ordering_tf_kernels.h5'
46
+ DENSENET201_WEIGHT_PATH_NO_TOP = 'https://github.com/fchollet /deep-learning-models/releases/download/v0.8 /densenet201_weights_tf_dim_ordering_tf_kernels_notop.h5'
47
47
48
48
49
49
def dense_block (x , blocks , name ):
Original file line number Diff line number Diff line change 60
60
from ..applications .imagenet_utils import decode_predictions
61
61
from .. import backend as K
62
62
63
- NASNET_MOBILE_WEIGHT_PATH = 'https://github.com/titu1994/Keras-NASNet /releases/download/v1.2 /NASNet-mobile.h5'
64
- NASNET_MOBILE_WEIGHT_PATH_NO_TOP = 'https://github.com/titu1994/Keras-NASNet /releases/download/v1.2 /NASNet-mobile-no-top.h5'
65
- NASNET_LARGE_WEIGHT_PATH = 'https://github.com/titu1994/Keras-NASNet /releases/download/v1.2 /NASNet-large.h5'
66
- NASNET_LARGE_WEIGHT_PATH_NO_TOP = 'https://github.com/titu1994/Keras-NASNet /releases/download/v1.2 /NASNet-large-no-top.h5'
63
+ NASNET_MOBILE_WEIGHT_PATH = 'https://github.com/fchollet/deep-learning-models /releases/download/v0.8 /NASNet-mobile.h5'
64
+ NASNET_MOBILE_WEIGHT_PATH_NO_TOP = 'https://github.com/fchollet/deep-learning-models /releases/download/v0.8 /NASNet-mobile-no-top.h5'
65
+ NASNET_LARGE_WEIGHT_PATH = 'https://github.com/fchollet/deep-learning-models /releases/download/v0.8 /NASNet-large.h5'
66
+ NASNET_LARGE_WEIGHT_PATH_NO_TOP = 'https://github.com/fchollet/deep-learning-models /releases/download/v0.8 /NASNet-large-no-top.h5'
67
67
68
68
69
69
def NASNet (input_shape = None ,
You can’t perform that action at this time.
0 commit comments