-
Notifications
You must be signed in to change notification settings - Fork 125
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
#ValueError: to get argmax of an empty sequence #53
Comments
I have the same problem when i set y as a constant array |
I did a bid digging myself and it seems like the issue comes from train.py. Specifically, the code can pick nan value as a threshold for risk seeking policy gradient. It is on lines 365-370 (approx). If one replaces np.quantile() with np.nanquantile(), then the code runs just fine (See below)
|
Oh, this seems to make the code run. but the R value is now nan. |
Thanks @IgorK7! Yea, we have run into some issues with |
Hi,
I get an error:
ValueError: attempt to get argmax of an empty sequence
when I include a "const" token to the library.
I would really appreciate your help with this.
Here the full set up for replication (csv test file attached):
DSR_real_test.csv
The text was updated successfully, but these errors were encountered: