Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Array serialization to string too slow (caffe.io.array_to_datum, SerializeToString) #5740
Comments
tpet
commented
Jul 5, 2017
|
Maybe related to #4489? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tpet commentedJul 5, 2017
Issue summary
Serialization of float array to string is very slow.
Steps to reproduce
gives around 1.7 s and 2.1 s on my i5.
Are there any reasons for it to be that slow? It seems to be rather suspicious, for serializing 5M floats.
Your system configuration
Operating system: Ubuntu 16.04
Compiler: gcc
BLAS: openblas
Python or MATLAB version (for pycaffe and matcaffe respectively): 2.7.12