kkspeed / chess

Chinese chess with bot
MIT License
1 stars 1 forks source link

mode.py error #2

Closed thekingofkings closed 6 years ago

thekingofkings commented 6 years ago

Direct compile the AC learning model in model.py. Encounter the following error message:

ValueError: Negative dimension size caused by subtracting 3 from 1 for 'conv2d_1/convolution' (op: 'Conv2D') with input shapes: [?,10,9,1], [3,3,10,32].

However, the training process is OK.

kkspeed commented 6 years ago

main in model.py was out of sync. padding should not be added as it will make models generated by train.py inconsistent.