da03 / Attention-OCR

Visual Attention based OCR
MIT License
1.12k stars 363 forks source link

How to test a model that I choose #104

Open 5thwin opened 5 years ago

5thwin commented 5 years ago

After training, many files were created in 'train' folder as shown in the picture. How do I select and test the model I want? train

Which parameters represent the path to the model that I want to test?

python src/launcher.py --phase=test --visualize --data-path=evaluation_data/svt/test.txt --data-base-dir=evaluation_data/svt --log-path=log.txt --load-model --model-dir=model --output-dir=results

karthikeya55 commented 4 years ago

hey @5thwin have you found answer for the same?? if yes plz help about it

hiqmatNisa commented 4 years ago

Hi, set --model-dir=model with --model-dir=train. it will automatically extract the last checkpoint.