You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/19 10:43:09 UTC

[GitHub] sunyonggang commented on issue #8880: correct usage of bool arguments from command line

sunyonggang commented on issue #8880: correct usage of bool arguments from command line
URL: https://github.com/apache/incubator-mxnet/pull/8880#issuecomment-358930304
 
 
   Oh?, it's my first time to use im2rec.py to get like this:
   ```
   python ~/incubator-mxnet/tools/im2rec.py --list True --recursive True t_sss train/
   usage: im2rec.py [-h] [--list] [--exts EXTS [EXTS ...]] [--chunks CHUNKS]
                    [--train-ratio TRAIN_RATIO] [--test-ratio TEST_RATIO]
                    [--recursive] [--no-shuffle] [--pass-through]
                    [--resize RESIZE] [--center-crop] [--quality QUALITY]
                    [--num-thread NUM_THREAD] [--color {-1,0,1}]
                    [--encoding {.jpg,.png}] [--pack-label]
                    prefix root
   im2rec.py: error: unrecognized arguments: t_sss train/
   ```
   Yes, I should remove 'True', then it can work-- so why don't change the doc?  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services