keroro824 / HashingDeepLearning

Codebase for "SLIDE : In Defense of Smart Algorithms over Hardware Acceleration for Large-Scale Deep Learning Systems"
MIT License
1.07k stars 169 forks source link

Failed to execute with default given commands #32

Closed mritunjaymusale closed 4 years ago

mritunjaymusale commented 4 years ago

I followed the steps mentioned on readme. I got the following : ./runme ../SLIDE/Config_amz.csv

new Network new Layer new Node array [1] 2402 segmentation fault (core dumped) ./runme ../SLIDE/Config_amz.csv

I did adjust the config file as well and removed -mavx512f from Makefile

robers97 commented 4 years ago

dupe of issue 27... there is a default NULL initiation of saved_weights file str that will cause CNPY to barf. That should be a check in main.cpp aka:

    if(savedWeights=="") {
            std::cout << "Will not save weights as configuration file does not specify savedWeight file..." << std::endl;
    } else {
    _mynet->saveWeights(savedWeights);
    }

But otherwise, just put a line in your config file to give it a non-NULL value.

mritunjaymusale commented 4 years ago

Actually I managed to overcome this from one of the forked repos https://github.com/hieuhoang/HashingDeepLearning This fork ran with no issues