-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support keras functional model and tuning fallback layers (#521)
Signed-off-by: Clark Chin <[email protected]> Co-authored-by: chensuyue <[email protected]> Co-authored-by: Lv, Liang1 <[email protected]>
- Loading branch information
1 parent
4bd540c
commit efd7379
Showing
48 changed files
with
25,228 additions
and
1,372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"keras": { | ||
"resnetv2_50": { | ||
"model_src_dir": "image_recognition/resnetv2_50/quantization/ptq", | ||
"dataset_location": "/tf_dataset/dataset/imagenet", | ||
"input_model": "/tf_dataset2/models/tensorflow/resnetv2_50_keras/saved_model", | ||
"main_script": "main.py", | ||
"batch_size": 32 | ||
}, | ||
"xception": { | ||
"model_src_dir": "image_recognition/xception/quantization/ptq", | ||
"dataset_location": "/tf_dataset/dataset/imagenet", | ||
"input_model": "/tf_dataset2/models/tensorflow/xception_keras/saved_model/", | ||
"main_script": "main.py", | ||
"batch_size": 32 | ||
}, | ||
"mnist": { | ||
"model_src_dir": "image_recognition/mnist/quantization/qat", | ||
"dataset_location": "", | ||
"input_model": "/tf_dataset2/models/tensorflow/mnist_keras/saved_model/", | ||
"main_script": "main.py", | ||
"batch_size": 32 | ||
}, | ||
"resnetv2_101": { | ||
"model_src_dir": "image_recognition/resnetv2_101/quantization/ptq", | ||
"dataset_location": "/tf_dataset/dataset/imagenet", | ||
"input_model": "/tf_dataset2/models/tensorflow/resnetv2_101_keras/saved_model", | ||
"main_script": "main.py", | ||
"batch_size": 32 | ||
}, | ||
"mobilenet_v2": { | ||
"model_src_dir": "image_recognition/mobilenet_v2/quantization/ptq", | ||
"dataset_location": "/tf_dataset/dataset/imagenet", | ||
"input_model": "/tf_dataset2/models/tensorflow/mobilenet_v2_keras/saved_model/", | ||
"main_script": "main.py", | ||
"batch_size": 32 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.