eragonruan/text-detection-ctpn

absl.flags._exceptions.IllegalFlagValueError: flag --decay_rate=0.1: Expect argument to be a string or int, found <class 'float'>

sevany opened this issue · 3 comments

i tried to run train.py without changing anything. do i need to use tensorflow-gpu to run train.py?

okay solved.

okay solved.

How to deal with?

@liufeiwu change
tf.app.flags.DEFINE_integer('decay_rate', 0.1, '')
to
tf.app.flags.DEFINE_float('decay_rate', 0.1, '')
in main/train.py