Instructions to use mobilint/GoogLeNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Mobilint
How to use mobilint/GoogLeNet with Mobilint:
# pip install mblt-model-zoo from mblt_model_zoo.vision import MBLT_Engine model = MBLT_Engine( model_cls="GoogLeNet", model_type="DEFAULT", model_path="", core_mode="global8", ) try: image = model.preprocess("path/to/image.jpg") output = model(image) result = model.postprocess(output) finally: model.dispose() - Notebooks
- Google Colab
- Kaggle
|
Download README.md from mobilint/GoogLeNet: direct link, hf CLI and curl.
- Browser
- Download file 2.97 kB
-
https://huggingface.co/mobilint/GoogLeNet/resolve/main/README.md
- Command line
-
hf download hf://mobilint/GoogLeNet/README.md
-
curl -L -o README.md https://huggingface.co/mobilint/GoogLeNet/resolve/main/README.md
2.97 kB
| library_name: mobilint | |
| pipeline_tag: image-classification | |
| tags: | |
| - mobilint | |
| license: bsd-3-clause | |
| base_model_relation: quantized | |
| # GoogLeNet_IMAGENET1K_V1 | |
| `aries-rb/` holds the MXQ reproduced from the published arxiv folder (https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/GoogLeNet_IMAGENET1K_V1). It was compiled by qbcompiler 1.3.0 in the image `mobilint/qbcompiler:1.3-cuda12.8.1-ubuntu22.04` (sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7) with `--inference-scheme all`, so it supports the core mode(s) `single`, `multi`, `global4`, `global8` only. | |
| It was evaluated with qbruntime 1.5.0 in `async` inference mode on imagenet (50000 samples): top1_accuracy 0.69776, top5_accuracy 0.8947. Only the evaluated core mode was measured. | |
| SHA-256: `d3ad456226d043d7ba9adb9d45ed8c8c61ef3e8353ef3d26836d95bd71fbf83f` (9129250 bytes). Verify a download with `sha256sum <file>.mxq` and compare the digest with this value and with `aries-rb/metadata.json`. | |
| aries-rb/best_result.json contains legacy build values and is retained for mblt-vision-python compile defaults. | |
| The legacy aries/ directory was removed; mblt-model-zoo <= 2.12 must pin an older revision. | |
| ```json | |
| { | |
| "schema_version": 2, | |
| "model": "GoogLeNet_IMAGENET1K_V1", | |
| "variant": "baseline", | |
| "qbcompiler": "1.3.0", | |
| "qbruntime": "1.5.0", | |
| "compile": { | |
| "image_tag": "1.3-cuda12.8.1-ubuntu22.04", | |
| "image_digest": "sha256:6ad69aaa9581487ac6a1864b88d4c2179c7a4a486a3ab1ac376dbdfe763415e7", | |
| "inference_scheme": "all", | |
| "device": "gpu" | |
| }, | |
| "evaluation": { | |
| "dataset": "imagenet", | |
| "sample_count": 50000, | |
| "primary": { | |
| "top1_accuracy": 0.69776 | |
| }, | |
| "secondary": { | |
| "top5_accuracy": 0.8947 | |
| }, | |
| "protocol": null, | |
| "eval_data_identity": { | |
| "annotation_sha256": "f00550c10ff1d4110abc683786b6cc09d5082dadd3cee1568f5cfa1dad962960", | |
| "sample_list_sha256": "54446819dced83110352e5a0361ff05b19c331c5a9802dcb0222e6d1e44a0547" | |
| }, | |
| "identity_audit": "verified", | |
| "inference_mode": "async", | |
| "image_tag": "1.3-cpu-ubuntu22.04", | |
| "image_digest": "sha256:7c25b894fc0807acdf27f15c61b910b96dc66d3f5d97e04b595b2d7a8008e77c" | |
| }, | |
| "retention_percent": { | |
| "top1_accuracy": 102.25987044581882 | |
| }, | |
| "content_sha256": "b193f842f3f28831a35a419616ada7f9948b9380dcd3c17c14016fc3478d9375", | |
| "attempt_id": "GoogLeNet_IMAGENET1K_V1-jinman-coreall-79ed966bba53", | |
| "superseded_attempt_ids": [], | |
| "sha256": "d3ad456226d043d7ba9adb9d45ed8c8c61ef3e8353ef3d26836d95bd71fbf83f", | |
| "format": "MXQv7", | |
| "supported_modes": [ | |
| "single", | |
| "multi", | |
| "global4", | |
| "global8" | |
| ], | |
| "size": 9129250, | |
| "ops_commits": { | |
| "selection": "fd3ef917cdf31869fa65fdc69e3c727f7e48f50c" | |
| }, | |
| "arxiv_folder": "https://github.com/mobilint/mblt-model-arxiv/tree/main/models/image_classification/GoogLeNet_IMAGENET1K_V1", | |
| "publication": { | |
| "status": "public", | |
| "reason": "approved" | |
| } | |
| } | |
| ``` | |