-
Notifications
You must be signed in to change notification settings - Fork 26
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
int64 is not JSON serializable #245
Comments
Hi @jeiros! Thanks for the report! Could you also share your conda environment? Relevant package versions would be msmbuilder, numpy, sklearn, cython, etc. |
Sure! Forgot to do that. Heres the output of
Python version is 3.6. This is running on the Ubuntu shell that comes now with Windows 10, however, I've been able to replicate the problem in a different machine using OSX. |
Here's a small subset of the data with which the error can be reproduced |
Did you manage to replicate the error? |
So I think the problem is in specifying a list of integers in a log warped space: tica__lag_time:
min: 1
max: 1000
type: jump
warp: log
var_type: int
num: 10 I changed it to a Let me know what you think Edit: I'm pretty certain that's the problem, apparently only floats accept a log space. Maybe it'd be a useful addition to accept integers? Edit2: I saw this PR which seems to deal with the same issue but for gp optimization. |
Sorry! I've been busy with moving, and haven't had much time to check this out.
This is quite plausible. Does the #236 solve the issue for you, or does this require an additional fix? That PR needs some additional work to make it py27 compatible (although, I've very open to discontinuing py27 support). |
Hi,
I'm running into an error that I've not seen before. I'm using already-featurized trajectories stored as text numpy arrays, to compare the performance of different featurizers.
Here's the osprey config file:
And here's the output: https://pastebin.com/gtZxxwEt
I've previously done this kind of workflow, so I don't really know what might've gone wrong.
Best regards,
Juan
The text was updated successfully, but these errors were encountered: