aiverify-foundation / aiverify

AI Verify
https://aiverify-foundation.github.io/aiverify/
Apache License 2.0
124 stars 34 forks source link

[BUG]Cannot Upload Scikit-Learn Models from the Tutorial #301

Open hafeesyusuff opened 3 months ago

hafeesyusuff commented 3 months ago

Is there an existing issue for this?

Description

I want to upload a sklearn model, binary_classification_mock_credit_risk_sklearn.linear_model._logistic.LogisticRegression.sav from your tutorial.

Current Behavior

see screenshot

Expected Behavior

I am expecting a success message, followed by an uploaded model in the "All Models" page

Steps To Reproduce

No response

Environment

I  built using source code:
- Operating System and Version:My PC is windows 11, but I installed Ubuntu 22.04.3
- Python Version:3.11.0
- Node Version:18.15.0
- Redis Version:6.0.16
- Mongo Version: 6.0.16
- Screen Resolution: 2560*1440

Screenshots/ Code snippets

AIverify

Additional Context

No response

Possible Solution (Optional)

No response

imda-benedictlee commented 3 months ago

Hi @hafeesyusuff, thanks for reaching out. Can you help me by providing the logs that are appearing on the Portal and Test Engine when uploading the Model?

hafeesyusuff commented 3 months ago

Hi @imda-benedictlee image image

imda-benedictlee commented 3 months ago

Hi @hafeesyusuff, thanks for the logs. So far, the error in the logs is for pipeline model error, which is okay since you are not uploading a pipeline model. Let me try this on my end, and update you tomorrow.

hafeesyusuff commented 2 months ago

hi @imda-benedictlee do you have any update?

imda-benedictlee commented 1 month ago

Hi @hafeesyusuff, apologies for the delay. Can I check if you are using Ubuntu 22.04 on WSL or using it in a Virtual Machine? In addition, which version of AI Verify are you using?