import tensorflow as tf
tf.app.flags.DEFINE_float(
'select_threshold', 0.01, 'Selection threshold.') #key , value , introduce
tf.app.flags.DEFINE_integer(
'select_top_k', 400, 'Select top-k detected bounding boxes.')
tf.app.flags.DEFINE_integer(
'keep_top_k', 200, 'Keep top-k detected objects.')
tf.app.flags.DEFINE_float(
'nms_threshold', 0.45, 'Non-Maximum Selection threshold.')
tf.app.flags.DEFINE_float(
'matching_threshold', 0.5, 'Matching threshold with groundtruth objects.')
tf.app.flags.DEFINE_integer(
'eval_resize', 4, 'Image resizing: None / CENTRAL_CROP / PAD_AND_RESIZE / WARP_RESIZE.')
tf.app.flags.DEFINE_integer(
'eval_image_size', None, 'Eval image size.')
tf.app.flags.DEFINE_boolean(
'remove_difficult', True, 'Remove difficult objects from evaluation.')
FLAGS = tf.app.flags.FLAGS
print(FLAGS.select_threshold)
tf.app.flags.
最新推荐文章于 2022-11-05 15:57:53 发布