jcjohnson / densecap

Dense image captioning in Torch
MIT License
1.58k stars 432 forks source link

misleading help tip #62

Open aicentral opened 7 years ago

aicentral commented 7 years ago

_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