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

The test with the landmark.py you applied is not accurate. #16

Open
XiaXuehai opened this issue Jun 12, 2016 · 6 comments
Open

The test with the landmark.py you applied is not accurate. #16

XiaXuehai opened this issue Jun 12, 2016 · 6 comments

Comments

@XiaXuehai
Copy link

I use the landmark and the caffemodel you applied to test the image,and the result wasn't accurate.
and I see the classification.cpp caffe applied.The input testing image should minus mean_file.Do you think it's a factor of inaccuracy.

@luoyetx
Copy link
Owner

luoyetx commented Jun 12, 2016

The code here process the image. The model here is still not comparable to the original paper.

@XiaXuehai
Copy link
Author

THX. But the mean_file in caffe's example is the mean of the training image.And it's not the same as the following:

def _processImage(self, imgs):
        imgs = imgs.astype(np.float32)
        for i, img in enumerate(imgs):
            m = img.mean()
            s = img.std()
            imgs[i] = (img - m) / s
        return imgs

Does it affect the result?

@luoyetx
Copy link
Owner

luoyetx commented Jun 12, 2016

@XiaXuehai Yes. Caffe support an external mean_file for data layer. But I didn't use it. Actually, I did the image processing in my own code and give a raw data input to the network.

@hugowangyj
Copy link

Hello, luoyetx,
what's your lowest loss on the test dataset? I find mine is a large gap with the paper.

@luoyetx
Copy link
Owner

luoyetx commented Sep 5, 2016

@hugowangyj You can find some data in this pdf.

@hugowangyj
Copy link

Yes, but it is still a large lag behind the original paper.
Have you the latest results?

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

3 participants