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

accuracy layer on training phase #19

Open
weiguochow opened this issue Apr 10, 2018 · 0 comments
Open

accuracy layer on training phase #19

weiguochow opened this issue Apr 10, 2018 · 0 comments

Comments

@weiguochow
Copy link

weiguochow commented Apr 10, 2018

Hi, xingyi
Than you for your great open source code. I have reproduced the results as you show on the repository.
Furthermore, I want to add accuracy layer in DeepModel.prototxt file .

layer {
            name: "accuracy"
            type: "Accuracy"
            bottom: "DeepHandModelxyz"
            bottom: "joint"
            top: "accuracy"
            include {
                  phase: "TEST"
                   }
          }

However, there is error say that the dimension of jonit and DeepHandModelxyz doesn't match.

Number of labels must match number of predictions; e.g., if label axis == 1 and prediction shape is (N, C, H, W), label count (number of labels) must be N*H*W, with integer values in {0, 1, ..., C-1}

Is it maybe the sake of hd5 format data format? Can you give me some help? I am looking forward to your replay. Thank you!!!

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

1 participant