Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No samples after opening lead #152

Closed
seebrand opened this issue Jan 8, 2025 · 11 comments
Closed

No samples after opening lead #152

seebrand opened this issue Jan 8, 2025 · 11 comments

Comments

@seebrand
Copy link

seebrand commented Jan 8, 2025

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
2d3034378a1bbad1c1885c4f2d28de7
somthtimes,above "No samples after checking bidding" happened.

@ThorvaldAagaard
Copy link
Collaborator

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?

@seebrand
Copy link
Author

seebrand commented Jan 8, 2025

image
other boards are normal.

@ThorvaldAagaard
Copy link
Collaborator

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?

@seebrand
Copy link
Author

seebrand commented Jan 8, 2025

image
somes error occur.

@ThorvaldAagaard
Copy link
Collaborator

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

@seebrand
Copy link
Author

seebrand commented Jan 8, 2025

yes,i test , all is ok. no error happened. the above website's code and config is the same as here latest version ?

@ThorvaldAagaard
Copy link
Collaborator

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)

@seebrand
Copy link
Author

seebrand commented Jan 9, 2025

i run with --verbose, anyway, error occured in another No.5 trick., and connection died. it's log, thanks a lot.
errlog_1nt.txt

@ThorvaldAagaard
Copy link
Collaborator

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,

@seebrand
Copy link
Author

seebrand commented Jan 9, 2025

thanks very much. I reinstall keras==3..6.0, then all is ok ! No error happened. that's great!

@ThorvaldAagaard
Copy link
Collaborator

Great, I will close as completed then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants