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

About run_cifar10 #22

Open
MModerato opened this issue Jul 24, 2017 · 11 comments
Open

About run_cifar10 #22

MModerato opened this issue Jul 24, 2017 · 11 comments

Comments

@MModerato
Copy link

MModerato commented Jul 24, 2017

After we execute the command >> run_cifar10, we get the >> MAP = 0.897373
Is this the result after reranking ? I mean the Fine-level Search.
@kevinlin311tw

@kevinlin311tw
Copy link
Owner

It's coarse-level search. In MNIST and CIFAR10 experiments, we evaluate the performance with only binary codes in order to fairly compare with other hashing approaches.

@MModerato
Copy link
Author

MModerato commented Jul 28, 2017

name: "KevinNet_CIFAR10"
layers {
layer {
    name: "data"
    type: "data"
    source: "cifar10_train_leveldb"
    meanfile: "../../data/ilsvrc12/imagenet_mean.binaryproto"
    batchsize: 32
    cropsize: 227
    mirror: true
    det_context_pad: 16
    det_crop_mode: "warp"
    det_fg_threshold: 0.5
    det_bg_threshold: 0.5
    det_fg_fraction: 0.25
  }
  top: "data"
  top: "label"
}

In the train_CIFAR10_48.prototxt, why cropsize is 227? While the size of image in cifar is 32*32.

And when I used Netscope to view train_CIFAR10_48.prototxt, the error was reported:

Error Encountered
Uncaught TypeError: Cannot read property 'replace' of undefined


Warning
Can't infer network data shapes. Can't infer output shape of the 'undefined' layer of type 'undefined'. 
TypeError: Cannot read property 'split' of undefined

Thank you. @kevinlin311tw

@kevinlin311tw
Copy link
Owner

kevinlin311tw commented Jul 28, 2017 via email

@MModerato
Copy link
Author

Do you have an experiment on NUS-WIDE ? @kevinlin311tw

@kevinlin311tw
Copy link
Owner

kevinlin311tw commented Sep 6, 2017 via email

@MModerato
Copy link
Author

Uh.. Is it correct for me to use SigmoidCrossEntropyLoss on multi-label dataset? @kevinlin311tw

@kevinlin311tw
Copy link
Owner

kevinlin311tw commented Sep 7, 2017 via email

@lshignal
Copy link

@111Moderato I also meet this mistick. Do you fix it?
Error Encountered
Uncaught TypeError: Cannot read property 'replace' of undefined

Warning
Can't infer network data shapes. Can't infer output shape of the 'undefined' layer of type 'undefined'.
TypeError: Cannot read property 'split' of undefined

@MModerato
Copy link
Author

I forgot whether I had met the mistake. I'm using another version of Caffe, so I can run it properly after the prototxt changes

@lshignal
Copy link

@111Moderato Thanks a lot!
However, this error is occurred when using Netscope to view train_CIFAR10_48.prototxt. You asked this question, but author does not answered :)

@mudi-1125
Copy link

The baidu link of model and image resource is invalid, can anyone share it?

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

4 participants