da03 / Attention-OCR

Visual Attention based OCR
MIT License
1.11k stars 362 forks source link

Replace keras with tensorflow. #26

Closed SivanKe closed 7 years ago

SivanKe commented 7 years ago

Notice:

  1. My code is from an older version of your code, so I mistakenly deleted the part of choosing a gpu.
  2. I also changed the model to work in python 3.5 and tensorflow 0.12, which accounts for some changes like pickle becoming cPickle and adding explicit conversions to int.