Friday, April 15, 2016

Error: mdb_status == 0 (2 vs. 0) No such file or directory

Error: 
mdb_status == 0 (2 vs. 0) No such file or directory

Solution:
check for lambda files location in prototext file and if files are there. 
./data/mnist/get_mnist.sh

./examples/mnist/create_mnist.sh
Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
Referenced from: /usr/local/lib/libopencv_highgui.2.4.dylib
Reason: Incompatible library version: libopencv_highgui.2.4.dylib requires version 37.0.0 or later, but libpng16.16.dylib provides version 34.0.0
make: *** [runtest] Trace/BPT trap: 5

solution:

brew reinstall libpng

Error: The "brew link" step did not complete successfully

Error: 
The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/google
/usr/local/include is not writable.

solution:

Permission issue 

sudo chown -R 'jwithanawasam':admin /usr/local/lib
sudo chown -R 'jwithanawasam':admin /usr/local/include
sudo chown -R 'jwithanawasam':admin /usr/local/share
sudo chown -R 'jwithanawasam':admin /usr/local/bin

You can try again using:
brew link protobuf

Thursday, April 14, 2016

Error: No nodes loaded. Quitting (on error).

Command: netconvert --node-files=hello.nod.xml --edge-files=hello.edg.xml --output-file=hello.net.xml

Error: No nodes loaded. Quitting (on error).

Solution:
Check whether the hello.nod.xml file is corrupted. Check for formatting issues.