[TF Hub][Notebook] Secure future notebook models in the precommit (#19652)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
This commit is contained in:
parent
d9952b2455
commit
023a2f462a
@ -10,6 +10,9 @@ def get_models_list(file_name: str):
|
||||
models = []
|
||||
with open(file_name) as f:
|
||||
for model_info in f:
|
||||
# skip comment in model scope file
|
||||
if model_info.startswith('#'):
|
||||
continue
|
||||
mark = None
|
||||
reason = None
|
||||
assert len(model_info.split(',')) == 2 or len(model_info.split(',')) == 4, \
|
||||
|
@ -6,4 +6,10 @@ imagenet/mobilenet_v2_100_224/feature_vector,https://tfhub.dev/google/imagenet/m
|
||||
efficientnet/lite0/classification,https://tfhub.dev/tensorflow/efficientnet/lite0/classification/2?tf-hub-format=compressed
|
||||
movenet/multipose/lightning,https://tfhub.dev/google/movenet/multipose/lightning/1?tf-hub-format=compressed
|
||||
imagenet/efficientnet_v2_imagenet1k_b0/feature_vector,https://tfhub.dev/google/imagenet/efficientnet_v2_imagenet1k_b0/feature_vector/2?tf-hub-format=compressed
|
||||
imagenet/mobilenet_v1_100_224/classification,https://tfhub.dev/google/imagenet/mobilenet_v1_100_224/classification/5?tf-hub-format=compressed,skip,119718 - Accuracy issue
|
||||
imagenet/mobilenet_v1_100_224/classification,https://tfhub.dev/google/imagenet/mobilenet_v1_100_224/classification/5?tf-hub-format=compressed,skip,119718 - Accuracy issue
|
||||
# secure notebook models
|
||||
unet/industrial/class_1,https://tfhub.dev/nvidia/unet/industrial/class_1/1?tf-hub-format=compressed
|
||||
movenet/singlepose/thunder,https://tfhub.dev/google/movenet/singlepose/thunder/4?tf-hub-format=compressed
|
||||
esrgan-tf2,https://tfhub.dev/captain-pool/esrgan-tf2/1?tf-hub-format=compressed
|
||||
film,https://tfhub.dev/google/film/1?tf-hub-format=compressed,skip,119907 - incorrect test data
|
||||
planet/vision/classifier/planet_v2,https://tfhub.dev/google/planet/vision/classifier/planet_v2/1?tf-hub-format=compressed
|
Loading…
Reference in New Issue
Block a user