You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importopenmlfromarbokimportAutoSklearnWrapper, TPOTWrapperopenml.config.apikey='my key'task=openml.tasks.get_task(31)
dataset=task.get_dataset()
# Get the AutoSklearn wrapper and pass parameters like you would to AutoSklearnclf=AutoSklearnWrapper(
time_left_for_this_task=3600, per_run_time_limit=360
)
# Execute the taskrun=openml.runs.run_model_on_task(clf,task)
#run.publish()#print('URL for run: %s/run/%d' % (openml.config.server, run.run_id))
----------------------Get the following Errors:
AttributeError Traceback (most recent call last)
in ()
12
13 # Execute the task
---> 14 run = openml.runs.run_model_on_task(clf,task)
15 #run.publish()
16
/usr/local/lib/python3.6/dist-packages/openml/runs/functions.py in run_flow_on_task(flow, task, avoid_duplicate_runs, flow_tags, seed, add_local_measures, upload_flow)
172 task, flow = flow, task
173
--> 174 flow.model = flow.extension.seed_model(flow.model, seed=seed)
175
176 # We only need to sync with the server right now if we want to upload the flow,
AttributeError: 'NoneType' object has no attribute 'seed_model'
The text was updated successfully, but these errors were encountered:
----------------------Get the following Errors:
AttributeError Traceback (most recent call last)
in ()
12
13 # Execute the task
---> 14 run = openml.runs.run_model_on_task(clf,task)
15 #run.publish()
16
1 frames
/usr/local/lib/python3.6/dist-packages/openml/runs/functions.py in run_model_on_task(model, task, avoid_duplicate_runs, flow_tags, seed, add_local_measures, upload_flow, return_flow)
104 seed=seed,
105 add_local_measures=add_local_measures,
--> 106 upload_flow=upload_flow,
107 )
108 if return_flow:
/usr/local/lib/python3.6/dist-packages/openml/runs/functions.py in run_flow_on_task(flow, task, avoid_duplicate_runs, flow_tags, seed, add_local_measures, upload_flow)
172 task, flow = flow, task
173
--> 174 flow.model = flow.extension.seed_model(flow.model, seed=seed)
175
176 # We only need to sync with the server right now if we want to upload the flow,
AttributeError: 'NoneType' object has no attribute 'seed_model'
The text was updated successfully, but these errors were encountered: