Ensemble

less than 1 minute read

models = []
for i in model_num:
	graph = tf.Graph()
	sess = tf.Session(graph=graph)
	with graph.as_default():
	    model = ep36.rltradingDQN_hyper(sess,INPUT_SIZE, OUTPUT_SIZE,learning_rate, num_dense_layers,num_dense_nodes, activation)
	    model.load()
	    models.append(model)