-
Notifications
You must be signed in to change notification settings - Fork 38
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
[BUG] Cannot Upload Scikit-Learn Models from the Tutorial #209
Comments
Hi @stephenllh, thank you raising this issue. Let us take a look and we will follow up with you once we have investigate the issue. In the meantime, will you be able to provide the logs from both the test-engine as well as from the apigw and portal? |
Additional information: It worked if I run it on my local PC via WSL. But when I did it on a remote cloud server, this is the error. |
Here are the logs extracted from the 2 containers: |
Hi @stephenllh, thanks for the logs. Unfortunately, I am unable to see any info for the test-engine_logs. Are you able to upload the test_engine_logs again? For remote cloud server, there might be a configuration that you might need to modify. Let me double check on this and get back to you. |
Apologies. Here it is. |
Hi @stephenllh, thanks for the test-engine-logs. While we look into the issue in detail, you might like to try the solution below. As I understand the issue only occurs when using it in the cloud, we do have a potential solution that we have come up with for hosting AI Verify Docker in the Cloud. Below is a Docker Command that allows you to add the domain name / IP address of the cloud instance that you are running AI Verify Docker on in the command line argument for Docker Build.
Where {domainname_or_ip} is the domain name or IP address of the host where you run the aiverify container instance, e.g. bash docker-build.sh --build-arg PORTAL_URL=http://25.255.11.123/ --build-arg WS_URL=ws://25.255.11.123/--no-cache Do take note that though this is a potential solution, AI Verify is currently not officially supported for Cloud Instances. Do reach out to me here if you require additional assistance. |
Thank you for the suggestion. Also, I just realized that cloud instance is not supported. Thank you for clarifying on that. I will try your solution to see if it works. |
Hi @stephenllh, may I know if the above solution suggested worked for you? |
Hi @imda-benedictlee I am having same issue as @stephenllh . In my case, I installed the App using the source code https://aiverify-foundation.github.io/aiverify/getting-started/source-code-setup/ (I installed Ubuntu on my windows 11). Is there anyway you can help me? |
Hi @hafeesyusuff, thanks for reaching out. Can I check at which part of the tutorial that you are stuck at? Also, may I know if you are using WSL or running AI Verify on Ubuntu in Virtual Machine, or via Docker? |
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.
I am seeing this
even though the stdout log seems to imply that the verification has passed:
Current Behavior
No response
Expected Behavior
I am expecting a success message, followed by an uploaded model in the "All Models" page
Steps To Reproduce
Build the Docker image and run the containers via docker-compose.yml as stated in the guide. Then, navigate to the AI model upload page.
Environment
Screenshots/ Code snippets
No response
Additional Context
No response
Possible Solution (Optional)
No response
The text was updated successfully, but these errors were encountered: