Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to use a training job that has not been launched yet to launch a prediction job #1210

Open
chlmarchal opened this issue Feb 4, 2022 · 0 comments

Comments

@chlmarchal
Copy link

chlmarchal commented Feb 4, 2022

Hi!
I noticed that when creating a new prediction job, it is possible to choose a training job that exists but has not been launched yet. In this case, the job fails and the error is the following:

Traceback (most recent call last):
  File "/app/run.py", line 378, in <module>
    main(sys.argv[1:])
  File "/app/run.py", line 288, in main
    binary = str2bool(properties["binary"].value)
KeyError: 'binary'

Since the training job has not been launched yet, its PropertyCollection containing the keys "binary" and "classes" is empty when the prediction job needs it during its initialization and the shown error is raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant