densecap
densecap copied to clipboard
misleading help tip
parser.add_argument('--max_token_length', 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 img_removed += 1
The help tip is misleading and should be updated Thanks for your efforts