SteveCruz
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: 
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...