You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don’t typically save them to disk. But DVID uses proroguedprotobuf to send/receive them. You could use that, I suppose. (See the imports at the top of _labelindex.py) Not sure if it’s any better than pickle, though.
Another option is to convert them to pandas DataFrames (and back), but then you have to handle a few metadata fields yourself (mutid, lastmod).
(Sorry for not giving links. Typing from my phone.)
is there a function to serialize and deserialize the label indices?
Currently, I am using pickle to do it.
The text was updated successfully, but these errors were encountered: