Closed RygarNelson closed 3 years ago
import sys from absl import app
UnrecognizedFlagError: Unknown command line flag 'f'
sys.argv = sys.argv[:1]
calls
sys.exit`try: app.run(lambda argv: None) except: pass
Paste the above code after you import packages and before initializing the trainer, and also change the spec to "model_search/configs/dnn_config.pbtxt"
This should work PS: Do the indentation part with try and except as indents are not allowed in text comment
Thank you very much. The problem has been solved.
I'm trying to run the example provided by the tool in the README file. After many fixed error, I have found this one and I have no solution.
The error
The code I'm running
I have no idea on what I need to check for the resolution.