Open 154461013 opened 5 years ago
python generate_data.py --street 1 --approximate root_nodes
Traceback (most recent call last):
File "generate_data.py", line 29, in
if board.shape[0] == 5,You need to modify this 。when in pre_flop, the shape is None.
for street in [turn, flop, pre-flop]: data = generate_data(street, root_nodes_nn[street]) # solve leaf nodes tf_data = convert_to_tf_data(data) street_leaf_nn = train_neural_network(tf_data)
Do we really need to run the street in "pre-flop"??
generate_data.py --street 1 --approximate root_nodes in PyStack\src\NeuralNetwork\next_round_value.py function _init_root_approximation_vars() self.next_round_inputs = np.zeros([batch_size,BC,HC*PC + 1 + self.num_board_features], dtype=dt) self.next_round_values = np.zeros([batch_size,BC,PC,HC], dtype=dt) what is the batch_size?So next_round_inputs requires 22GB of memory。Do I need more than 60g of memory?