14ff5175181e680d75b8d4ad6fe0d7d4dd35beff,keras/applications/nasnet.py,,NASNet,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,69
Before Change
model.load_weights(weights_file)
elif default_size == 331: // large version
if include_top:
weight_path = NASNET_LARGE_WEIGHT_PATH
model_name = "nasnet_large.h5"
else:
weight_path = NASNET_LARGE_WEIGHT_PATH_NO_TOP
model_name = "nasnet_large_no_top.h5"
weights_file = get_file(model_name, weight_path,
cache_subdir="models")
model.load_weights(weights_file)
else:
After Change
// load weights
if weights == "imagenet":
if default_size == 224: // mobile version
if include_top:
weights_path = get_file(
"nasnet_mobile.h5",
NASNET_MOBILE_WEIGHT_PATH,
cache_subdir="models",
file_hash="020fb642bf7360b370c678b08e0adf61")
else:
weights_path = get_file(
"nasnet_mobile_no_top.h5",
NASNET_MOBILE_WEIGHT_PATH_NO_TOP,
cache_subdir="models",
file_hash="1ed92395b5b598bdda52abe5c0dbfd63")
model.load_weights(weights_path)
elif default_size == 331: // large version
if include_top:
weights_path = get_file(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: keras-team/keras
Commit Name: 14ff5175181e680d75b8d4ad6fe0d7d4dd35beff
Time: 2018-05-17
Author: me@taehoonlee.com
File Name: keras/applications/nasnet.py
Class Name:
Method Name: NASNet
Project Name: bonlime/keras-deeplab-v3-plus
Commit Name: 64bc7a86422c3ff27c4c7e96c1a640d1ec4eb438
Time: 2019-03-19
Author: bonlimezak@gmail.com
File Name: .ipynb_checkpoints/model-checkpoint.py
Class Name:
Method Name: Deeplabv3
Project Name: bonlime/keras-deeplab-v3-plus
Commit Name: f6f265fa09387bc02ba204c7622e9a7ef6127d8c
Time: 2019-02-22
Author: raul.diaz.garcia@hp.com
File Name: model.py
Class Name:
Method Name: Deeplabv3