Skip to content

First run of sklearn classifier crashes constantly #562

Description

@janvanrijn

see attached error.

My guess: flow exists is called, and it returns null. Flow can be uploaded, but flow id is not fixed.

should be tested with a sentinel

Traceback (most recent call last):
File "/home/janvanrijn/projects/sklearn-bot/examples/run_on_study.py", line 53, in <module>
run()
File "/home/janvanrijn/projects/sklearn-bot/examples/run_on_study.py", line 45, in run
args.upload_result)
File "/home/janvanrijn/projects/sklearn-bot/sklearnbot/bot/run.py", line 69, in run_bot_on_task
run = openml.runs.run_model_on_task(task, classifier)
File "/home/janvanrijn/projects/openml-python/openml/runs/functions.py", line 48, in run_model_on_task
add_local_measures=add_local_measures)
File "/home/janvanrijn/projects/openml-python/openml/runs/functions.py", line 146, in run_flow_on_task
"same: '%s' vs '%s'" % (str(flow.flow_id), str(flow_id))
ValueError: Result from API call flow_exists and flow.flow_id are not same: '108950' vs 'False'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions