happynear / happynear/FaceVerification

input data/diff size does not match target blob shape, input data/diff size: [ 100 100 1 2 ] vs target blob shape: [ 100 100 1 100 ]

Open
#24 17 comments 1 reaction 0 assignees View on GitHub
Dominant language
MATLAB
Stars
447
Forks
230
PR merge metrics
No merged PRs in 30d

Description

大神,运行你的VerificationDemo.m 出现这个问题,请问是什么原因呢?

> > VerificationDemo
> > Error using CHECK (line 4)
> > input data/diff size does not match target blob shape, input data/diff size: [ 100 100 1 2 ] vs target blob shape: [
> > 100 100 1 100 ]

Error in caffe.Blob/check_data_size_matches (line 72)
CHECK(is_matched, ...

Error in caffe.Blob/check_and_preprocess_data (line 46)
self.check_data_size_matches(data);

Error in caffe.Blob/set_data (line 26)
data = self.check_and_preprocess_data(data);

Error in caffe.Net/forward (line 122)
self.blobs(self.inputs{n}).set_data(input_data{n});

Error in VerificationDemo (line 53)
f = net.forward(H);

另外:
f = f{1};
fprintf('distance:%f\n',f);
if f

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.