SteveCruz

Results 5 comments of SteveCruz

Just in order to be sure, do you get the message ``` lmdb test db found! Looks like you ran this before, so we need to cleanup those old files......

I downloaded your script and tested it on my Ubuntu machine. I changed ``` data_uint8, label = brew.db_input( model, blobs_out=["data_uint8", "label"], batch_size=batch_size, db=db, db_type=db_type, ) ``` to ``` data_uint8, label...

Here is a screen shot of my LMDB files: ![screenshot from 2018-03-18 16-30-08](https://user-images.githubusercontent.com/12113320/37567616-b464d3da-2ac9-11e8-97f5-c44907192a48.png)

I use Ubuntu version 16.04. I am sorry that I could not help to solve your problem!

If I understand you correctly, the following function should do the job: https://caffe2.ai/docs/operators-catalogue.html#squaredl2distance Further, the following Tutorial might help: https://github.com/caffe2/caffe2/blob/master/caffe2/python/tutorials/Toy_Regression.ipynb I don't know what your blob_out and 'label' is or...