Last active
September 6, 2020 14:57
-
-
Save himanshurawlani/913cf674e5c4fdf1e031ec1083015874 to your computer and use it in GitHub Desktop.
An example HyperOpt search space
This file contains hidden or 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
{ | |
"lr": hp.choice("lr", [0.0001, 0.001, 0.01, 0.1]), | |
"batch_size": hp.choice("batch_size", [8, 16, 32, 64]), | |
"use_contrast": hp.choice("use_contrast", ["True", "False"]), | |
"contrast_factor": hp.choice("contrast_factor", [0.1, 0.2, 0.3, 0.4]), | |
"use_rotation": hp.choice("use_rotation", ["True", "False"]), | |
"rotation_factor": hp.choice("rotation_factor", [0.1, 0.2, 0.3, 0.4]), | |
"use_flip": hp.choice("use_flip", ["True", "False"]), | |
"flip_mode": hp.choice("flip_mode", ["horizontal", "vertical"]), | |
"dropout_rate": hp.choice("dropout_rate", [0.1, 0.2, 0.3, 0.4, 0.5]), | |
"conv_block1_filters": hp.choice("conv_block1_filters", [32, 64, 128, 256, 512]), | |
"conv_block2_filters": hp.choice("conv_block2_filters", [32, 64, 128, 256, 512]), | |
"conv_block3_filters": hp.choice("conv_block3_filters", [32, 64, 128, 256, 512]), | |
"conv_block4_filters": hp.choice("conv_block4_filters", [32, 64, 128, 256, 512]), | |
"conv_block5_filters": hp.choice("conv_block5_filters", [32, 64, 128, 256, 512]), | |
"fc_layer_type": hp.choice("fc_layer_type", ["dense", "convolution"]), | |
"pool_type": hp.choice("pool_type", ["max", "average"]), | |
"fc1_units": hp.choice("fc1_units", [32, 64, 128, 256, 512]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment