Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data consistency between C and Python #1691

Closed
kamikawa opened this issue Jan 7, 2015 · 1 comment
Closed

data consistency between C and Python #1691

kamikawa opened this issue Jan 7, 2015 · 1 comment

Comments

@kamikawa
Copy link

kamikawa commented Jan 7, 2015

Hi

My second request.
It took me a while to grasp a differece between "caffe train/test" command and python "classify.py" command.
I think that could cause mistakes of users and common data format should be supported.

  1. Input data
    C: database format ( leveldb etc, )
    python : image file
  2. mean data
    C: binary proto
    python: numpy format
  3. test phase model prototxt (as I mentioned previous topic)

Best regards.

@shelhamer
Copy link
Member

The caffe command and caffe Python module can load exactly the same net to take the same type of inputs -- see #1774. Doing so reproduces the same results with the command line and the caffe.Net interface in Python.

This should be documented better as noted by #1774.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants