Assert x.size()[0] == 1, "Only batch size of 1 is supported for now." (pid=172088) AssertionError: Only batch size of 1 is supported for now

Does this program not work? ray/rllib/contrib/bandits/examples/tune_LinUCB_train_recommendation.py

I got an error when I ran it, but I didn’t make any changes.

Indeed, sorry about that! :confused:
Will fix and add these two bandit example scripts as a test case to our suite.

Thanks for the catch @the_attacking_white !

Thank you so much for your reply. I look forward to using this function smoothly after you repair it.

Here is a PR that fixes these issues and adds all example scripts to our per-PR testing suite.

Thank you very much, your efficiency is really too high, I have run successfully.