Fixed issues with sqllite.py that prevented correct creation of SQLite database.
Note: sqlite.py now expects cifar-10-vectors and cifar-10-vectors-alexnet pickle files to be present in the same directory. The pickle files can be created using the updated cifar-to-resnet.py.
Changed the schema of images table: removed vector column and added resnet and alexnet columns.
Note: save_ndarray_as_blob function uses the numpy.ndarray.tofile method with default settings ("C" order). Refer to numpy docs.
sqllite.py
that prevented correct creation of SQLite database.sqlite.py
now expectscifar-10-vectors
andcifar-10-vectors-alexnet
pickle files to be present in the same directory. The pickle files can be created using the updatedcifar-to-resnet.py
.images
table: removedvector
column and addedresnet
andalexnet
columns.save_ndarray_as_blob
function uses thenumpy.ndarray.tofile
method with default settings ("C" order). Refer to numpy docs.