_parser.add_argument('--max_tokenlength',
default=15, type=int,
help="Set to 0 to disable filtering")
Setting that to zero will not disable filtering. it will discard all tokens according to
_if max_token_length > 0 and len(tokens) <= max_token_length:
...
else:
region['tokens'] = None
captions_removed += 1
imgremoved += 1
The help tip is misleading and should be updated
Thanks for your efforts
_parser.add_argument('--max_tokenlength', default=15, type=int, help="Set to 0 to disable filtering")
Setting that to zero will not disable filtering. it will discard all tokens according to _if max_token_length > 0 and len(tokens) <= max_token_length: ... else: region['tokens'] = None captions_removed += 1 imgremoved += 1
The help tip is misleading and should be updated Thanks for your efforts