dkeras-project / dkeras Goto Github PK
View Code? Open in Web Editor NEWDistributed Keras Engine, Make Keras faster with only one line of code.
License: MIT License
Distributed Keras Engine, Make Keras faster with only one line of code.
License: MIT License
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
Hello,
I have two workers in Linux or perhaps windows.
They are in the same local network but with different IP address.
If I want to configure distributed keras training, is there any reference for deployment?
Thanks & Regards!
Jun Yan
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 <------
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()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.