aiverify icon indicating copy to clipboard operation
aiverify copied to clipboard

[BUG] Unable to upload pipeline models

Open imda-kelvinkok opened this issue 1 year ago • 10 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

Unable to upload pipeline models (in folders) when running AI verify with the dev setup script

Current Behavior

When trying to upload valid pipeline models, there will be an axios error

Expected Behavior

Upload should be successful if the model is valid

Steps To Reproduce

  1. Run git clone git@github_ssh:IMDA-BTG/aiverify.git
  2. Run bash setup-aiverify-dev.sh
  3. Start test engine app, api gateway and frontend portal
  4. Navigate to stock-plugins\aiverify.stock.accumulated-local-effect\algorithms\accumulated_local_effect\tests\user_defined_files\pipeline
  5. Copy the pipeline folder to somewhere outside the aiverify folder
  6. Upload any of the models in the pipeline folder from the previous step
  7. The error should appear when trying to upload the model

Environment

- Operating System and Version: Win11 Pro, AIVerify running on WSL 2 with Ubuntu 20.024
- AI Verify Version: v0.9.x
- Any other relevant information (e.g. version of related package dependencies installed):

Did you build using source code or from docker file? If from source code, please provide the below information:
- Python Version: 3.11.4
- Node Version: 18.16.0
- Redis Version: 7.0.11
- Mongo Version: 3.6.8
- Screen Resolution: 1920 x 1080

Screenshots/ Code snippets

axios_error

Additional Context

No response

Possible Solution (Optional)

No response

imda-kelvinkok avatar Aug 04 '23 06:08 imda-kelvinkok