STUDIOLAB ML inference Package
Project description
STUDIOLAB ML inference Package
Install
- TBD
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.0.1.tar.gz
(28.7 kB
view hashes)
Built Distribution
Close
Hashes for studiolab_ml-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b05fd2504d514a14e6f9e41f00d9496a1180c718074ba50dd538f6ea0569b1f |
|
MD5 | 0173edb703b745dd682beaaa3342ab9a |
|
BLAKE2b-256 | 3d8250459951e9e45a3ff10132d7173774634d4d799ccf04cf07b20474a68233 |