You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users
I want to create a list in Python and save it as a binary proto. Then I nee to read it by C++ code and get the values. How can I save my Python list in a proper form ?
Jan C Peters
unread,
Oct 21, 2015, 9:00:53 AM10/21/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users
What does this have to do with Caffe?
Create a protobuf spec, compile it for python and c++ and use the created APIs to read/write. The format of the binary files is language-independent. But why so complicated? Just create a plain text or csv file. Easy to read and write from both C++ and Python.