Docker and leveldb problems

105 views
Skip to first unread message

Rajan Rajbhandari

unread,
May 21, 2015, 5:41:02 PM5/21/15
to caffe...@googlegroups.com
I've created a siamese network for image matching and everything works on my mac, but when I move it over to Docker (ubuntu with caffe already setup and using boot2docker), I get very odd errors- basically, after I train my network and push my test data through and map the 2d hashs, I get a my points on a straight "line" (45 degree angle going up from left to right) and not a clustered scatter plot that I get on my mac.

After days and days of trying to figure out what was wrong (got past a bunch of errors by moving the running directory out of a shared (mounted) directory inside of Docker), I got down to the fact that if I generate my ldb file at a certain spot and move the file or rename it, the plotted output, ends up in that "line".  Otherwise, it shows a reasonable plot.  The creation and loading of the ldb is done in C++.

BTW, I wanted this on Docker so I can move it around on different cloud infrastructure.

Anyone have this kind of problem?   Should I just avoid Docker or abandon leveldb for something like hdf5?


Reply all
Reply to author
Forward
0 new messages