Created
May 28, 2019 13:18
-
-
Save WillArevalo/0c2306740ebdc9637a3beaa244de0810 to your computer and use it in GitHub Desktop.
Combinations kernels
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
#Hago las listas | |
weigths_list = ['imagenet', None] | |
learnRate_list = [1e-2, 1e-4, 1e-6] | |
optimizer_list = ['Adam', 'Adagrad', 'Adadelta'] | |
lossFunc_list = ['kullback_leibler_divergence', 'binary_crossentropy', 'categorical_crossentropy'] | |
combinations = [] | |
for weigth in weigths_list: | |
for learn in learnRate_list: | |
for opt in optimizer_list: | |
for loss in lossFunc_list: | |
combinations.append({'weight':weigth, 'lr':learn, 'optimizer':opt, 'loss':loss}) | |
combinations[1]['lr'] | |
# Solo se pueden hacer 12 combinaciones por kernel o sesion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment