Giter Club home page Giter Club logo

dist-lr's People

Contributors

ctliu3 avatar muyinanhai 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

Watchers

 avatar  avatar  avatar  avatar

dist-lr's Issues

how to compile this project

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)

执行local.sh出错double free

请问什么原因以及怎么解决,执行结果如下:

  • ../bin/distlr
  • ../bin/distlr
    Server mode: sync
  • ../bin/distlr
    Init weight
    Worker[0]: start working...
    *** Error in `../bin/distlr': double free or corruption (out): 0x0000000000b0f6e0 ***
    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f6dd8bf17e5]
    /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f6dd8bfa37a]
    /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f6dd8bfe53c]
    ../bin/distlr(_ZN6distlr8DataIterC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x4cd)[0x41b7fd]
    ../bin/distlr(_Z9RunWorkerv+0xb27)[0x416f17]
    ../bin/distlr(main+0x22)[0x415932]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6dd8b9a830]
    ../bin/distlr(_start+0x29)[0x415ac9]
    ======= Memory map: ========

main.cc line 69 的问题

想问下 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();

的吧?

Error running distlr example

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?

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.