How to use
Use directly
- model_file_path: Model file path(ONNX, TFLite)
- dataset_file_path: The path to the compressed file or the individual npy files where the delimiter of the input layer is used as the file name.
python3 inference.py --model_file_path tests/your_model_file.tflite --dataset_file_path tests/your_dataset_file.npy
Import and use
from netspresso_inference_package.inference.inference_service import InferenceService
inf_service = InferenceService(
model_file_path="/app/tests/people_detection.onnx"
)
inf_service.run(dataset_file_path="/app/tests/dataset_for_onnx.npy")
print(inf_service.result_file_path)
Metadata
Release files for netspresso-inference-package 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netspresso_inference_package-0.1.5.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netspresso_inference_package-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.4 kB
Release files / netspresso_inference_package-0.1.5.tar.gz
| Download URL | netspresso_inference_package-0.1.5.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6724a1aa513bd8c4a356652b2fa2016a308f38da086d3c8aa8c8059b0c5ea64
|
|
BLAKE2b-256 checksum How to use checksums |
3b7a4971c5e8f800b4f90feeadee25ed1e6890efabba3e1311ef8ca9198a980c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / netspresso_inference_package-0.1.5-py3-none-any.whl
| Download URL | netspresso_inference_package-0.1.5-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d992c7cd255a7a23da9237f2a87c26a16b5583f4c2388b0dbcad3aa375baf8b7
|
|
BLAKE2b-256 checksum How to use checksums |
e6f3edb348136c56056624c7ead325ad3a5854591094824851d91c9b313a005a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|