ctliu3 / dist-lr Goto Github PK
View Code? Open in Web Editor NEWA distributed logistic regression system based on ps-lite.
A distributed logistic regression system based on ps-lite.
Hi, I wonder how to build this project.
I tried: mkdir build && cd build; cmake ..
and get the error message:
_-- Start building project
-- Could NOT find ZMQ (missing: ZMQ_LIBRARY ZMQ_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
ps-lite/cmake/ProtoBuf.cmake:4 (find_package)
ps-lite/CMakeLists.txt:22 (include)
I try to add an adam module on your code,then i find by the same iteration,the code can get higher accuracy .The files has been attached.Maybe you can adopt this.
请问什么原因以及怎么解决,执行结果如下:
想问下 main.cc line 69
weights[i] -= learning_rate_ * req_data.vals[i] / merged.request.size();
应该是
weights[i] -= learning_rate_ * merged.vals[i] / merged.request.size();
的吧?
If I do:
sh examples/local.sh 1 1 bin/distlr
I get the following error:
[.../dist-lr]% bash examples/local.sh 1 1 bin/distlr
Server mode: sync
[14:57:01] .../repos/dist-lr/ps-lite/include/dmlc/logging.h:208: [14:57:01] .../repos/dist-lr/ps-lite/src/van.cc:70: Check failed: (my_node_.port) != (-1) bind failed
terminate called after throwing an instance of 'dmlc::Error'
what(): [14:57:01] .../repos/dist-lr/ps-lite/src/van.cc:70: Check failed: (my_node_.port) != (-1) bind failed
Init weight
Worker[0]: start working...
examples/local.sh: line 51: 8247 Aborted (core dumped) ${bin} ${arg}
Any ideas how to solve this issue?
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.