Skip to content

Commit 4550389

Browse files
Fix Conflicting Changes
1 parent 88637b8 commit 4550389

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

misc/grid_search_gcnn.py

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def run_experiment(x_train, y_train, x_valid, y_valid, embeddings, _num_edges, _
9292
log_device_placement=False)
9393
sess = tf.Session(config=session_conf)
9494

95+
tf.set_random_seed(42) # set random seed for consistent results
96+
9597
with sess.as_default():
9698
# Init model
9799
gcnn = GraphCNN(filter_name=filter_name,

0 commit comments

Comments
 (0)