Coder Social home page Coder Social logo

Comments (7)

mashaye avatar mashaye commented on May 18, 2024 1

Thanks, it works fine now.

from dist-keras.

JoeriHermans avatar JoeriHermans commented on May 18, 2024

Are you using Keras 2? Or did you run a trainer multiple times, e.g., after training?

from dist-keras.

mashaye avatar mashaye commented on May 18, 2024

Yes, I am using keras 2.
I tried SingleTrainer, AEASGD, and EAMSGD, same problem for all.

from dist-keras.

JoeriHermans avatar JoeriHermans commented on May 18, 2024

I'll fix this today :) I'll let you know when it is done.

from dist-keras.

JoeriHermans avatar JoeriHermans commented on May 18, 2024

Should be fixed now, let me know. However, I couldn't test it on Keras 2 atm since my TensorFlow is quite outdated due to an old libc.

from dist-keras.

mashaye avatar mashaye commented on May 18, 2024

Thanks for your quick responses.
It is working for the SingleTrainer, but for AEASGD I got the following error:

trained_model = trainer.train(training_set)
File "build/bdist.linux-x86_64/egg/distkeras/trainers.py", line 575, in train
File "build/bdist.linux-x86_64/egg/distkeras/trainers.py", line 425, in allocate_parameter_server
File "build/bdist.linux-x86_64/egg/distkeras/parameter_servers.py", line 230, in init
AttributeError: 'Sequential' object has no attribute 'get_weight'

from dist-keras.

JoeriHermans avatar JoeriHermans commented on May 18, 2024

Again, typo on my part. This is fixed now in 465c43c I pushed it to the master branch.

I recommend running the ADAG optimizer (see MNIST example). This optimizer usually is more stable and converges faster than the others.

Joeri

from dist-keras.

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.