Fixed URL for wordlist.tgz in image_ocr.py (#6136)
This commit is contained in:
parent
98b95762b6
commit
655f5af76e
@ -416,7 +416,7 @@ def train(run_name, start_epoch, stop_epoch, img_w):
|
||||
input_shape = (img_w, img_h, 1)
|
||||
|
||||
fdir = os.path.dirname(get_file('wordlists.tgz',
|
||||
origin='http://www.isosemi.com/datasets/wordlists.tgz', untar=True))
|
||||
origin='http://www.mythic-ai.com/datasets/wordlists.tgz', untar=True))
|
||||
|
||||
img_gen = TextImageGenerator(monogram_file=os.path.join(fdir, 'wordlist_mono_clean.txt'),
|
||||
bigram_file=os.path.join(fdir, 'wordlist_bi_clean.txt'),
|
||||
|
Loading…
Reference in New Issue
Block a user