zpysky1125 / fine_grained_classification

1 stars 0 forks source link

sys.argv[1] and sys.argv[2] ? #3

Open XZNWU opened 6 years ago

XZNWU commented 6 years ago

How to run the code, what parameters need to be entered? self.mode = sys.argv[1] and sys.argv[2] ?

zpysky1125 commented 6 years ago

self.mode is a parameter in the file, you add those parameters in the command line when you run the python file. We only use three params

XZNWU commented 6 years ago

Thank you very much for your answer, I mean what are the two parameters?What do I write when I run the code?What is the format for running the code?Can you give an example?For example: python ram2.py --. I have another question. Do you have a reference for your code?

zpysky1125 commented 6 years ago

python ram2 mode(11 or 12 or ...) checkpoint_file(log/model.ckpt) that is the format, mode means the training process, since the whole process is sequential.