google / model_search

Apache License 2.0
3.26k stars 462 forks source link

UnparsedFlagAccessError: Trying to access flag --phoenix_master before flags were parsed. #36

Open moku23 opened 3 years ago

moku23 commented 3 years ago

I'm try to run Model Search, but get back this error:

UnparsedFlagAccessError: Trying to access flag --phoenix_master before flags were parsed.

ERROR:absl:Flags are not parsed. Using default in file mlmd database. Please run main with absl.app.run(main) to fix this. If running in distributed mode, this means that the trainers are not sharing information between one another.
---------------------------------------------------------------------------
UnparsedFlagAccessError                   Traceback (most recent call last)
<ipython-input-10-93cbf25f70e3> in <module>
     19     batch_size=32,
     20     experiment_name="root",
---> 21     experiment_owner="root")
gjenset commented 3 years ago

Had the same problem, found the solution further down in responses to this issue: https://github.com/google/model_search/issues/32