tryolabs / luminoth

Deep Learning toolkit for Computer Vision.
https://tryolabs.com
BSD 3-Clause "New" or "Revised" License
2.4k stars 400 forks source link

Error: No such command "transform " #219

Closed akm479 closed 5 years ago

akm479 commented 5 years ago

While running the command "lumi dataset transform  -- type csv - - data-dir data/ - - output-dir tfdata/  -- split train - - split val  -- only-classes=table" I got the this "Error: No such command "transform " how to resolve please help

RameshOswal commented 5 years ago

try this command lumi dataset transform --type csv --data-dir data/ --output-dir tfdata/ --split train --split val  --only-classes=table

RameshOswal commented 5 years ago

for some reason it was not working for me also. could you try this way - not sure why this works and other not.

lumi dataset transform \
        --type csv \
        --data-dir data/ \
        --output-dir tfdata/ \
        --split train --split val \
        --only-classes=table
dekked commented 5 years ago

@litelo what platform are you using Luminoth on?

dekked commented 5 years ago

The command you pasted has unicode spaces:

Python 3.6.7rc1 (default, Sep 27 2018, 09:51:25) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.1.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: a = 'lumi dataset transform  -- type csv - - data-dir data/ - - output-dir tfdata/  -- split tra
   ...: in - - split val  -- only-classes=table'                                                        

In [2]: a                                                                                               
Out[2]: 'lumi dataset transform\u200a --\u200atype csv -\u200a-\u200adata-dir data/ -\u200a-\u200aoutput-dir tfdata/\u200a --\u200asplit train -\u200a-\u200asplit val\u200a --\u200aonly-classes=table'

Please only use regular spaces, as:

lumi dataset transform --type csv --data-dir data/ - output-dir tfdata/ --split train --split val --only-classes=table
himani88 commented 5 years ago

Use the below command:

lumi dataset transform --type csv --data-dir Data/ --output-dir Data/tfdata/ --split train --split val --only-classes=table it worked for me