IgorZorkov

Results 17 comments of IgorZorkov

3 training images is not enough, use 10 + images, because you use 10 batches

training even one epoh on cpu will take a very long time, use google colab with gpu

%cd /content !git clone https://github.com/argman/EAST %cd /content/EAST !python eval.py --test_data_path=/training_samples/ --gpu_list=0 --checkpoint_path=MYPATH\ --output_dir=/tmp/

there's no problem running this code in the lab

when after a training you want to freeze pb, ask me, i will explain how to do this in the lab

Ok, don't forget to change runtime type to GPU mode in menu

**1.** First you need to save your trained checkpoint files To do this replace your eval.py with this file, https://yadi.sk/d/B2qL9iYpDvDoBA, change line number 154 as needed in your new eval.py...

**3.** https://github.com/spmallick/learnopencv/tree/master/TextDetectionEAST

**or** download TextDetection.py https://yadi.sk/d/72iA8zmoX8Ffvw and run %cd /content/ !python "/content/drive/My Drive/TextDetection.py" --input "/content/test.jpg" \ --thr=0.5 \ --nms=0.5 \ --model "/content/EAST/saved/frozen_model.pb" \ --width=512 \ --height=512