-
Notifications
You must be signed in to change notification settings - Fork 167
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
Cannot pickle certain type hints #63
Comments
I'm also seeing similar error. |
I'm trying to test Ray on a RF classifier, and I'm getting the same error from the code below:
|
@bdod6, can you post the full code so that we can reproduce the problem easily? Also, can you post the error message? It may make sense to migrate this issue over to the Ray repository. |
Figured it out. I was passing a pandas dataframe to the remote function. It went away after I changed it to numpy array. Thanks! |
If you use a Ray version after
ray-project/ray@0684258,
passing dataframes to remote functions should now work (it was merged very
recently).
…On Thu, Oct 12, 2017 at 2:47 PM, bdod6 ***@***.***> wrote:
Figured it out. I was passing a pandas dataframe to the remote function.
It went away after I changed it to numpy array. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG6pP1hHmC4b4m2GywhLnsgH_m_w1MZks5srojpgaJpZM4JQanV>
.
|
Awesome...thank you! |
OK some improvements in #262 make all examples in #63 (comment) pass. So I guess we can close this. |
Also
Hi, I'm trying to pickle some stuff in the
typing
module. I'm curious if there are fundamental limitations here or if this is out of scope for cloudpickle. Thanks for your help!This works.
This seems to lose some information.
This doesn't work
The text was updated successfully, but these errors were encountered: