demoing with test data
This commit is contained in:
parent
d2913fd6f1
commit
f720529ac9
|
|
@ -19,7 +19,7 @@ def run_dcrnn(args):
|
||||||
# tf_config = tf.ConfigProto(device_count={'GPU': 0})
|
# tf_config = tf.ConfigProto(device_count={'GPU': 0})
|
||||||
# with tf.Session(config=tf_config) as sess:
|
# with tf.Session(config=tf_config) as sess:
|
||||||
supervisor = DCRNNSupervisor(adj_mx=adj_mx, **supervisor_config)
|
supervisor = DCRNNSupervisor(adj_mx=adj_mx, **supervisor_config)
|
||||||
mean_score, outputs = supervisor.evaluate()
|
mean_score, outputs = supervisor.evaluate('test')
|
||||||
np.savez_compressed(args.output_filename, **outputs)
|
np.savez_compressed(args.output_filename, **outputs)
|
||||||
print('Predictions saved as {}.'.format(args.output_filename))
|
print('Predictions saved as {}.'.format(args.output_filename))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue