Skip to content

Commit dcac3c2

Browse files
author
cyente
authored
Update main_multi_modal.py
1 parent df5236f commit dcac3c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main_multi_modal.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,11 @@ def look_enable_node(graph):
347347
text_hidden_size = 12
348348
n_steps = 3
349349
learning_rate = 0.001
350-
opt = RMSProp"
350+
opt = "RMSProp"
351351
beta = 0.2
352352
accurancy = cm_ggnn(batch_size, image_hidden_size, text_hidden_size, n_steps, learning_rate, G, num_category, opt, i, beta)
353+
print("best parameter is batch_size, image_hidden_size, text_hidden_size, n_steps, learning_rate, optimizer:%d, %d ,%d , %d, %f, %s" % (batch_size,
354+
image_hidden_size, text_hidden_size, n_steps, learning_rate, opt))
353355
# for image_hidden_size in [12]: #### n*8
354356
# for text_hidden_size in [12, 16, 64]:
355357
# for n_steps in [3]:

0 commit comments

Comments
 (0)