Closed Raketenpete closed 3 years ago
This one worked for me:
I found the problem and solved it. I made directory name like "c:/tmp/filedb-352355" 352355 is random value from 0 to 1000000. (We can find this code in ml_metadata_db.py line 102)
Running started... I wish this tips is helpful.
_Originally posted by @KevinRyu in https://github.com/google/model_search/issues/31#issuecomment-790503282_
This with
`# Addresses `UnrecognizedFlagError: Unknown command line flag 'f'`
sys.argv = sys.argv[:1]
# `app.run` calls `sys.exit`
try:
app.run(lambda argv: None)
except:
pass`
between import and trainer =.... solved it for me!
Thanks @aprikyan !!
EDIT1: Formatting
To get started, I just ran the example code. Unfortunately I get a RuntimeError. Did anyone get the same error or has an idea to solve it? Thanks in advance!
============================CODE OUTPUT========================================
EDIT1: Formating EDIT2: Changed VENV from python 3.7 to python 3.8 but didn't solve the problem