No samples after opening lead
Closed this issue · 11 comments
in playing a board, an error in trick2 happened: assert bidding_states[0].shape[0] > 0, "No samples after opening lead"
http://localhost:8080/app/bridge.html?deal=(%27J432.K7.KT984.A7%20Q75.QT963.QJ5.T6%2096.A852.76.KQ984%20AKT8.J4.A32.J532%27,%20%27N%20None%27)&P=1&board_no=2001&A=x&T=2
somthtimes,above "No samples after checking bidding" happened.
I just played this board without any problems.
I have seen some version conflicts. Can you provide me with the information in the console, when you start the server?
If you start the gameserver with parameters --verbose True it might be possible to see, what the problem is.
Worst case it can be we have to generate even more samples (or pick a random card)
Are you playing one of the hands?
No that is just the stacktrace after the Assert fails, so it is the output up to this, that is interesting.
Can you play the hand on the test-server
http://ben.aalborgdata.dk:8080/home
yes,i test , all is ok. no error happened. the above website's code and config is the same as here latest version ?
I made a commit in the weekend, but nothing important
When you run local please send the entire log, so I can check (with --verbose True)
i run with --verbose, anyway, error occured in another No.5 trick., and connection died. it's log, thanks a lot.
errlog_1nt.txt
Keras version: 3.7.0 is not supported, as there was a breaking change in that version
or you can read more about it here: keras-team/keras#20686 (comment)
I have no plan about training for 3.7.0, but you are very welcome :-)
I made a change yesterday, that might prevent the application stop, but you will then run without validating the lead as the model return wrong values,
thanks very much. I reinstall keras==3..6.0, then all is ok ! No error happened. that's great!
Great, I will close as completed then.