Coder Social home page Coder Social logo

dkeras-project / dkeras Goto Github PK

View Code? Open in Web Editor NEW
192.0 8.0 13.0 6.64 MB

Distributed Keras Engine, Make Keras faster with only one line of code.

License: MIT License

Python 100.00%
machine-learning keras keras-tensorflow distributed-deep-learning deep-learning tensorflow ray python distributed parallel-computing

dkeras's People

Contributors

stephenoffer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dkeras's Issues

predict() got an unexpected keyword argument 'callbacks'

File "/root/anaconda3/envs/tf13/lib/python3.6/site-packages/dkeras/workers/worker.py", line 109, in worker_task 
TypeError: predict() got an unexpected keyword argument 'callbacks'

what is tensorflow and keras 's version?
my tensorflow and keras:
keras Version: 2.3.1
tensorflow Version: 1.13.1

This is probably a bug

config.N_CPUS_PER_SERVER = n_cpus_per_server
config.N_CPUS_PER_WORKER = n_cpus_per_worker
config.N_CPUS_PER_SERVER = n_gpus_per_worker <------

Dkeras on a local machine (Intel® Xeon(R) Gold 6128 CPU @ 3.40GHz × 12 ) takes for ever

I have a model based on keras and it takes about 25 seconds for inference. I wanted to speed this up and implemented dkreas but I didnt get the performance improvment that I was expecting. Instead it takes for ever. Do you know why this happen or have I done anything wrong?

from dkeras import dKeras
import ray
ray.init()
model = dKeras(my_model, init_ray=False, wait_for_workers=True, n_workers=None)
segmented = model.predict(data)
model.close()

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.