|
@@ -42,7 +42,7 @@ def xp_synthesized_graphs_num_edge_label_alphabet(): |
|
|
# Compute Gram matrix. |
|
|
# Compute Gram matrix. |
|
|
run_time = 'error' |
|
|
run_time = 'error' |
|
|
try: |
|
|
try: |
|
|
gram_matrix, run_time = compute_graph_kernel(graphs, kernel_name, n_jobs=1) |
|
|
|
|
|
|
|
|
gram_matrix, run_time = compute_graph_kernel(graphs, kernel_name) |
|
|
except Exception as exp: |
|
|
except Exception as exp: |
|
|
print('An exception occured when running this experiment:') |
|
|
print('An exception occured when running this experiment:') |
|
|
LOG_FILENAME = save_dir + 'error.txt' |
|
|
LOG_FILENAME = save_dir + 'error.txt' |
|
|