NVIDIA / sentiment-discovery

Unsupervised Language Modeling at scale for robust sentiment classification
Other
1.06k stars 202 forks source link

Unable to run train.py Keras retinanet in Ubuntu on Remote server #71

Open shreyapriya700 opened 4 years ago

shreyapriya700 commented 4 years ago

python3 train.py csv home/shpriya/dataset/dataset/Annotations.csv home/shpriya/dataset/dataset/Class.csv Erro is as follows; train.py: error: unrecognized arguments: csv home/shpriya/dataset/dataset/Annotations.csv home/shpriya/dataset/dataset/Class.csv

This is not unrecognized argument I am following github link https://github.com/fizyr/keras-retinanet and as per instructions

Running directly from the repository:

keras_retinanet/bin/train.py csv /path/to/csv/file/containing/annotations /path/to/csv/file/containing/classes

Please help me! I am stuck!

krishh-konar commented 4 years ago

going just by the comment, looks like your path is wrong. it should be python3 train.py csv /home/shpriya/dataset/dataset/Annotations.csv home/shpriya/dataset/dataset/Class.csv

instead of

python3 train.py csv home/shpriya/dataset/dataset/Annotations.csv home/shpriya/dataset/dataset/Class.csv