Giter Club home page Giter Club logo

Comments (12)

leewyang avatar leewyang commented on May 21, 2024

@tjrileywisc I have a branch for Python 3 support that I had been working on locally. I just pushed it up, but it's not merged in yet because I've only "lightly tested" it on my Mac w/ Spark Standalone... However, if you're already experimenting, feel free to try it out and see if it works for you...

from tensorflowonspark.

tjrileywisc avatar tjrileywisc commented on May 21, 2024

@leewyang Thanks. I checked out the branch. I'm still stuck with the same error unfortunately but I'll keep trying.

from tensorflowonspark.

leewyang avatar leewyang commented on May 21, 2024

FYI, we've merged in the python3 compatible code. Unfortunately, I doubt that it will fix this issue (which seems to be Windows-specific pickling issue), so I'll update the title accordingly.

from tensorflowonspark.

goodwanghan avatar goodwanghan commented on May 21, 2024

I'm also trying python 3.5 + tensorflow + windows solution and I also get the pickling issue. I tried using pathos multiprocess to replace multiprocessing, it seems the pickling issue is gone but the workers crashed for unknown reason. If possible could you try using pathos and see if it can work on Linux?

from tensorflowonspark.

fairyqiqi avatar fairyqiqi commented on May 21, 2024

@goodwanghan May I ask how you used pathos to resolve the pickling issue? I'm also facing the same issue on windows right now.

from tensorflowonspark.

pawarrick avatar pawarrick commented on May 21, 2024

This is probably clear by now, but it seems that the ability to pickle under windows is affected by the lack of ability to fork() in the multiprocess package (a spawn() occurs instead). It was resolved in another context (ouspg/trytls#197) by moving the call but not sure if that's relevant here.

from tensorflowonspark.

mohammedayub44 avatar mohammedayub44 commented on May 21, 2024

I could not install this on CDH hence took this route of installing on windows.
I stood up a standalone spark cluster using this https://sachingpta.gitlab.io/_posts/installing-spark-cluster-in-windows.html. I could run the first step but train of the model fails. I'm stuck on this pickling error too. Let me know if you find a resolution to this.

from tensorflowonspark.

sumitsinha avatar sumitsinha commented on May 21, 2024

Is there any way to run this on windows and avoid the pickling error?

from tensorflowonspark.

stathwan avatar stathwan commented on May 21, 2024

im not sure
C:\Python35\lib\multiprocessing\reduction.py
import dill as pickle

from tensorflowonspark.

tmielika avatar tmielika commented on May 21, 2024

Is this still an issue?

from tensorflowonspark.

leewyang avatar leewyang commented on May 21, 2024

Added a note that Windows isn't currently supported due to this issue.

from tensorflowonspark.

potipot avatar potipot commented on May 21, 2024

I found a solution to this: I removed all classes definition from my main execution file (as instructed in DataLoader source here) and the pickling error no longer appears.
I'm running Windows.

from tensorflowonspark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.