Created
June 25, 2019 22:34
-
-
Save obeshor/83675924348aeea819c66429d832e791 to your computer and use it in GitHub Desktop.
Tranfer Learning with TFHub
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
module_selection = ("inception_v3", 299, 2048) #@param ["(\"mobilenet_v2\", 224, 1280)", "(\"inception_v3\", 299, 2048)"] {type:"raw", allow-input: true} | |
handle_base, pixels, FV_SIZE = module_selection | |
MODULE_HANDLE ="https://tfhub.dev/google/tf2- preview/{}/feature_vector/2".format(handle_base) | |
IMAGE_SIZE = (pixels, pixels) | |
BATCH_SIZE = 64 #@param {type:"integer"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment