Registry / ai-ml / gluoncv

gluoncv

JSON →
library0.10.5.post0pypypiunverified

GluonCV is a deep learning computer vision toolkit originally built on Apache MXNet, now also supporting PyTorch. Version 0.10.5.post0 is the latest release. The project is in maintenance mode with infrequent releases.

pip install gluoncv
INSTALL
IMPORT
SIG · GLUONCV
G
gluoncv
ai-mlpythonv0.10.5.post0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

model_zoo
from gluoncv import model_zoo
from gluoncv import model_zoo

Load a pre-trained YOLOv3 model and run inference on a random image (MXNet backend).

from gluoncv import model_zoo, data, utils import mxnet as mx # Load a pre-trained model net = model_zoo.get_model('yolo3_darknet53_coco', pretrained=True) # Prepare a sample image from mxnet import nd import numpy as np # Simulate an image array x = nd.random.uniform(0, 255, (1, 3, 416, 416)) # Perform inference class_ids, scores, bounding_boxes = net(x) print('Detected objects:', class_ids, scores, bounding_boxes)
Debug
Known issues
breakingGluonCV 0.10.x drops Python 2 support and requires MXNet >= 1.8.0.
fix
Upgrade MXNet to 1.8+ and use Python 3.6+.
affects: >=0.10.0
deprecatedMXNet backend is deprecated in favor of PyTorch. New development is on PyTorch models.
fix
Migrate to PyTorch backend using gluoncv.torch module.
affects: >=0.9.0
gotchamodel_zoo.get_model() may download large pretrained weights on first use; ensure internet connectivity and sufficient disk space.
fix
Use gluoncv.model_zoo.get_model('...', pretrained=False) to skip download.
affects: all
Upgrade
Version history
0.10.5.post0latest on PyPI · released May 2, 2022
Audit
Dependencies
mxnetrequiredCore backend for GluonCV MXNet models
torchoptionalRequired for PyTorch models (gluoncv.torch)
Agent activity
27 hits · last 30 days
node
26
OpenAI (training)
1
Resources
gluoncv — pip install gluoncv · libregistry