STUDIOLAB ML inference Package
Project description
STUDIOLAB ML inference Package
Install
- pip install studiolab-ml
RUN
All input image type is PIL Image
MLFT
from studiolab_ml import MLFT
mlft = MLFT()
out = mlft.predict(img, cat_id)
- result is same dict type as "get_attributes" in ML-API
Pose Compo
from studiolab_ml import PoseCompo
pcp = PoseCompo()
out = pcp.predict(img)
- output examples
- outfit image - {'cut': 'outfit', 'background': 'blind', 'direction': 'front', 'head': 'head', 'part': 'full', 'pose': 'stand', 'detail': None}
- product image - {'cut': 'product', 'background': None, 'direction': 'front', 'head': None, 'part': None, 'pose': None, 'detail': None}
- detail image - {'cut': 'detail', 'background': None, 'direction': None, 'head': None, 'part': None, 'pose': None, 'detail': [shoulder, sleeve, ..]}
- noise image - {'cut': 'noise', 'background': None, 'direction': None, 'head': None, 'part': None, 'pose': None, 'detail': None}
TODO
- create model cloud storage
- model download from cloud
- GPU inference
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
studiolab_ml-0.1.0.tar.gz
(35.3 kB
view hashes)
Built Distribution
Close
Hashes for studiolab_ml-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f34140a44b226a53b26dbe2da26a5b33fbb642a92374a266f82e9fe24c7e08a |
|
MD5 | a317371a4659b64d94fe5ef20a1d5601 |
|
BLAKE2b-256 | 7d765c580edd3a312ed2f0a4b71117409a23d5edc0f7b1a9b19e92388cb4fa7e |