GantMan / proselyte

Keras to other mode conversion system
0 stars 2 forks source link

Fix Model.py parameters #6

Closed GantMan closed 5 years ago

GantMan commented 5 years ago

$ python model.py

The first parameter $1

This points model.py to the file to convert. For now, we are doing only Keras, but note that in the future this could be a caffe file or other. This will set the file path to convert.

The second parameter $2

This points to the temp folder that can be used. Inside here, other folders can be created and then cleaned up during the conversion process.

The result will be stored in $2/results/result.zip. Leave behind the original Keras file and the results.zip, the model.py should clean up everything else it created in the temp folder.

janlehky commented 5 years ago

Hi,

I am thinking about using standard argparse. Is it ok for you? Or you have something else in mind?

GantMan commented 5 years ago

standard arg parse works for me!