dengdan / seglink

An Implementation of the seglink alogrithm in paper Detecting Oriented Text in Natural Images by Linking Segments
GNU General Public License v3.0
495 stars 178 forks source link

training issue #28

Open dheeru999 opened 7 years ago

dheeru999 commented 7 years ago

i'am facing the below issue while "training train_seglink.py "

TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

Can anyone please explain the issue . screenshot from 2017-11-22 11-10-00

magicxiaobai commented 5 years ago

@dheeru999 can you solve it?

shaohailin commented 5 years ago

batch_size默认为none,所以报错改为这个试试:tf.app.flags.DEFINE_integer('batch_size', 1, 'The number of samples in each batch.')

shaohailin commented 5 years ago

@magicxiaobai