Skip to content

Commit

Permalink
Z-score Threshold tutorial (#1009)
Browse files Browse the repository at this point in the history
addition of zscore mct tutorial including updates to tutorial utils
  • Loading branch information
samuel-wj-chapman authored Mar 27, 2024
1 parent f2c58cf commit b773f42
Show file tree
Hide file tree
Showing 3 changed files with 987 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,13 @@
},
"outputs": [],
"source": [
"representative_dataset_folder = './imagenet/val'\n",
"batch_size = 20\n",
"REPRESENTATIVE_DATASET_FOLDER = './imagenet/val'\n",
"BATCH_SIZE = 20\n",
"fraction =0.001\n",
"representative_dataset_gen = tutorial_tools.get_representative_dataset(fraction, representative_dataset_folder, batch_size)"
"model_version = 'MobileNetV2'\n",
"\n",
"preprocessor = tutorial_tools.DatasetPreprocessor(model_version=model_version)\n",
"representative_dataset_gen = preprocessor.get_representative_dataset(fraction, REPRESENTATIVE_DATASET_FOLDER, BATCH_SIZE)"
]
},
{
Expand Down
Loading

0 comments on commit b773f42

Please sign in to comment.