This is a package for getting a response from the EC2 server for the models deployed for ServeLine
Project description
RILAAS
RILAAS is a Python package that allows users to replace a given image with customized configurations using various machine learning models.
Installation
You can install the package using pip:
pip install rilaas
Usage
from rilaas.Client import Client
# Example usage
client = Client(url='<ip-address>:<port>', model_type='Models Deployed', endpoint='Function you want to execute', Optional_Params="Any other parameters you want to add according to the model")
Configuration
The package utilizes a config.yaml file for configuration. Below is an example:
# config.yaml
yolov5:
functions:
- render
- invoke
accept: image/jpeg
Example
Here's an example demonstrating how to use the package:
from rilaas.Client import Client
client = Client(url='<ip-address>:<port>', model_type='Models Deployed', endpoint='Function you want to execute', Optional_Params="Any other parameters you want to add according to the model")
Issues
If you encounter any issues or have suggestions, please open an issue on the GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rilaas-0.1.9.tar.gz.
File metadata
- Download URL: rilaas-0.1.9.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b027eb230054162fc589a1263dfdb83890cbf1c46188bf2f6fb9959f3dda8e52
|
|
| MD5 |
dae70eb3184c5b2f65471c7a2595f487
|
|
| BLAKE2b-256 |
b22d068c1c773788eb9ea60e39fb1af394bac5e1effe900a55d3a21580b44bb5
|