{"library":"pytorchcv","title":"PyTorchCV","description":"PyTorchCV provides a collection of computer vision models (classification, segmentation, detection, etc.) for PyTorch, with pretrained weights. Current version 0.0.74, release cadence is irregular. Requires Python >=3.10.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pytorchcv"],"cli":null},"imports":["from pytorchcv.model_provider import get_model"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import torch\nfrom pytorchcv.model_provider import get_model\n\nmodel = get_model('resnet18', pretrained=True)\nmodel.eval()\nx = torch.randn(1, 3, 224, 224)\nwith torch.no_grad():\n    out = model(x)\nprint(out.shape)","lang":"python","description":"Quickstart: load a pretrained ResNet-18 model and run inference on a random tensor.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}