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

How should I varify the trained model by run_val.sh? #4

Open
yushanshan05 opened this issue Jul 20, 2017 · 5 comments
Open

How should I varify the trained model by run_val.sh? #4

yushanshan05 opened this issue Jul 20, 2017 · 5 comments

Comments

@yushanshan05
Copy link

I have seen the code that the validated datavaridat is set by the parameter of ‘--data-val'. And the default value is '/tmp/val.rec‘. But I don't know what and where this file is. And if I want to test a image, how should I do?
Thanks very much!

@yushanshan05 yushanshan05 changed the title How to varify the trained model by run_val.sh? How should I varify the trained model by run_val.sh? Jul 20, 2017
@jiangqr
Copy link

jiangqr commented Jul 20, 2017

use im2rec can generate rec file

@cypw
Copy link
Owner

cypw commented Jul 29, 2017

@yushanshan05 @whcacademy

You should be able to fully reproduce the result by the following steps:
( I've double checked by myself )

  1. Download ImageNet-1k validation set
  2. git clone --recursive https://github.com/cypw/DPNs.git
  3. Setup DPNs/mxnet && make
  4. Generate the val.rec file by $im2rec_path $val_lst_path $val_lst_pref ./val.rec unchanged=1
  5. Set the path for val.rec in scores.py
  6. run ./run_val.sh

@hcwang95
Copy link

hcwang95 commented Aug 2, 2017

That's cool!
Thanks for your help!

@gjd2017
Copy link

gjd2017 commented Aug 22, 2017

Hi,
I have trained the model(Dpn-92) based on my own dataset, the epoch is 20, however, when I use scores.py and run_val.sh test my dataset, there is a mistake, the val.log is empty. How should I do?
Thanks very much!

@gjd2017
Copy link

gjd2017 commented Aug 23, 2017

Solved

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

5 participants