openml / OpenML

Open Machine Learning
https://openml.org
BSD 3-Clause "New" or "Revised" License
664 stars 90 forks source link

OpenML API throwing no extention found for flow #1167

Closed sagar-nyamagouda closed 1 year ago

sagar-nyamagouda commented 1 year ago

Description

When I try to run a flow on a task I am getting an error:

[/usr/local/lib/python3.7/dist-packages/openml/flows/flow.py](https://localhost:8080/#) in extension(self)
    171         else:
    172             raise RuntimeError(
--> 173                 "No extension could be found for flow {}: {}".format(self.flow_id, self.name)
    174             )
    175 

RuntimeError: No extension could be found for flow 62: weka.DecisionStump
Along with the above I get SSL verify failed errors as well:

WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1091)'))': /dataset10/dataset_10.pq

Steps/Code to Reproduce

task = openml.tasks.get_task(69)
flow = openml.flows.get_flow(62)
run = openml.runs.run_flow_on_task(flow, task)
print(task)
prabhant commented 1 year ago

We are working on the fix for SSL error, Regarding the error for the flow it looks like you are trying to download a Weka flow in python. I am not sure if that is possible

PlusStar-Li commented 1 year ago

Even for the common svm flow 5891, this unexpected exception also exists.

PlusStar-Li commented 1 year ago

`import openml as oml

task = oml.tasks.get_task(10101) flow = oml.flows.get_flow(5891)

result = oml.runs.run_flow_on_task(flow, task)`

prabhant commented 1 year ago

This is a 'mlr' svm classifier. which requires R

PlusStar-Li commented 1 year ago

@prabhant

This is a 'mlr' svm classifier. which requires R

Thanks for the response, I have understood it.

prabhant commented 1 year ago

closing this now