DPNs
DPNs copied to clipboard
How should I varify the trained model by run_val.sh?
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!
use im2rec can generate rec file
@yushanshan05 @whcacademy
You should be able to fully reproduce the result by the following steps: ( I've double checked by myself )
- Download ImageNet-1k validation set
-
git clone --recursive https://github.com/cypw/DPNs.git
- Setup DPNs/mxnet && make
- Generate the
val.rec
file by$im2rec_path $val_lst_path $val_lst_pref ./val.rec unchanged=1
- Set the path for
val.rec
in scores.py - run
./run_val.sh
That's cool! Thanks for your help!
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!
Solved