No project description provided
Project description
Yolov5 support for Rikai
rikai-yolov5 integrates Yolov5 implemented in PyTorch with Rikai. It is based
on the packaged ultralytics/yolov5.
Notebooks
Usage
There are two ways to use rikai-yolov5.
rikai.mlflow.pytorch.log_model(
model,
"model",
OUTPUT_SCHEMA,
registered_model_name=registered_model_name,
model_type="yolov5",
)
Another way is setting the model_type in Rikai SQL:
CREATE MODEL mlflow_yolov5_m
MODEL_TYPE yolov5
OPTIONS (
device='cpu'
)
USING 'mlflow:///{registered_model_name}';
Available Options
| Name | Default Value | Description |
|---|---|---|
| conf_thres | 0.25 | NMS confidence threshold |
| iou_thres | 0.45 | NMS IoU threshold |
| max_det | 1000 | maximum number of detections per image |
| image_size | 640 | Image width |
Here is a sample usage of the above options:
CREATE MODEL mlflow_yolov5_m
OPTIONS (
device='cpu',
iou_thres=0.5
)
USING 'mlflow:///{registered_model_name}';
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rikai-yolov5-0.1.0.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rikai-yolov5-0.1.0.tar.gz.
File metadata
- Download URL: rikai-yolov5-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad17cb58f9a204302d022e506254a24f738fbc1345e9adf6519d5b240c5b87b3
|
|
| MD5 |
6f684265098c5d78470c300bfdb14b15
|
|
| BLAKE2b-256 |
ee0ac6b7a66b7b3c681393912c0acd4341c8db3fefea9d3f1c66ce00213e4a97
|
File details
Details for the file rikai_yolov5-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rikai_yolov5-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8935da31b205ed18d56b14418a6a7102ad9fb3416e73dc56335c9767475d764e
|
|
| MD5 |
766f0cbcfc724378751f95711867dec5
|
|
| BLAKE2b-256 |
3810712ad514de9d6444d7e7317a4c7ae18d875a3b95f97e9795a5ad0812e2de
|