deep-landmark icon indicating copy to clipboard operation
deep-landmark copied to clipboard

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

Open XiaXuehai opened this issue 9 years ago • 6 comments
trafficstars

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.

XiaXuehai avatar Jun 12 '16 03:06 XiaXuehai

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

luoyetx avatar Jun 12 '16 04:06 luoyetx

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?

XiaXuehai avatar Jun 12 '16 08:06 XiaXuehai

@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.

luoyetx avatar Jun 12 '16 10:06 luoyetx

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

hugowangyj avatar Sep 05 '16 07:09 hugowangyj

@hugowangyj You can find some data in this pdf.

luoyetx avatar Sep 05 '16 07:09 luoyetx

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

hugowangyj avatar Sep 05 '16 09:09 hugowangyj