input stringlengths 47 306 | output stringlengths 4 2.99k |
|---|---|
### Instruction:
Recommend a Python API to perform semantic segmentation on an image.,
### Response:
| 'Load the FCN-ResNet101 pretrained model from PyTorch Hub to perform semantic segmentation on images.', ```
'import torch
model = torch.hub.load("pytorch/vision", "fcn_resnet101", pretrained=True)'
``` |
### Instruction:
I am working on a computer vision app and I need to classify objects in the images. Which API can help me classify objects with high accuracy?,
### Response:
| 'Load the pretrained DenseNet-201 model from PyTorch Hub, which is a dense convolutional network with high accuracy in object classification.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'densenet201', pretrained=True)'
``` |
### Instruction:
We need an API that can be used to create an efficient image classifier for differentiating among various dog breeds in a mobile app.,
### Response:
| 'Load the pretrained HarDNet-39DS model from PyTorch Hub, which is fast and efficient, suitable for a mobile app to classify various dog breeds.', ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet39ds', pretrained=True)'
``` |
### Instruction:
Recommend an image classification API that requires low memory and runs faster on GPUs to classify user-uploaded photos.,
### Response:
| 'Load the pretrained HarDNet-68 model from PyTorch Hub for its low memory usage and faster speed on GPUs, making it suitable for classifying user-uploaded images.', ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet68', pretrained=True)'
``` |
### Instruction:
Identify an API for a clothing e-commerce website that classifies an image into different categories such as tops, shoes, dresses, etc.,
### Response:
| 'Load the pretrained HarDNet for image classification from PyTorch Hub, which can be fine-tuned for classifying clothing items such as tops, shoes, dresses, and more.', ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet68ds', pretrained=True)'
``` |
### Instruction:
I am working on a project that needs a lightweight image classification solution. Suggest me an API to use.,
### Response:
| 'GhostNet is a lightweight and efficient image classification solution, available in PyTorch Hub. It generates more features from cheap operations, providing a balance between speed and accuracy.', ```
"import torch
model = torch.hub.load('huawei-noah/ghostnet', 'ghostnet_1x', pretrained=True)"
``` |
### Instruction:
I am a computer science researcher interested in selecting an efficient image classification model. Can you recommend me an API that would be suitable for that purpose?,
### Response:
| 'Use the HarDNet-85 model from PyTorch Hub for efficient image classification as it minimizes both computational cost and memory access cost.', ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet85', pretrained=True)'
``` |
### Instruction:
A company is developing a machine-learning based software to categorize their products based on the photos they take. Provide an API that can help them classify their images and name the image types.,
### Response:
| 'Load the pretrained ResNet-50-IBN-a model for image classification from PyTorch Hub, which can be fine-tuned for categorizing product images.', ```
'import torch
model = torch.hub.load('XingangPan/IBN-Net', 'resnet50_ibn_a', pretrained=True)'
``` |
### Instruction:
A machine learning engineer is working on generalization for classification tasks in different domains. Suggest an API that is suitable for this task.,
### Response:
| 'Load the pretrained IBN-Net (resnet101_ibn_a) model from PyTorch Hub, which is designed for domain and appearance invariance, making it suitable for cross-domain classification tasks.', ```
'import torch
model = torch.hub.load('XingangPan/IBN-Net', 'resnet101_ibn_a', pretrained=True)'
``` |
### Instruction:
We want our AI powered traffic camera to classify different types of vehicles with high accuracy. Provide an API suggestion for this.,
### Response:
| 'Load the pretrained ResNeXt-101-IBN-a model for object classification from PyTorch Hub, which can classify different types of vehicles with high accuracy.', ```
'import torch
model = torch.hub.load('XingangPan/IBN-Net', 'resnext101_ibn_a', pretrained=True)'
``` |
### Instruction:
I'm working on a project that needs a deep learning model to identify similar objects across different domains. Suggest me an API that can serve the purpose.,
### Response:
| "Load the pretrained SE-ResNet-101-IBN-a model from PyTorch Hub, an IBN-Net model that unifies instance normalization and batch normalization, suitable for cross-domain object identification.", ```
'import torch
model = torch.hub.load('XingangPan/IBN-Net', 'se_resnet101_ibn_a', pretrained=True)'
``` |
### Instruction:
A new ecommerce store wants to automatically categorize images of products into different classes. Recommend an API that can perform image classification.,
### Response:
| 'Load the pretrained ResNeSt model for image classification from PyTorch Hub, which can automatically categorize images of products into different classes.', ```
'import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest101', pretrained=True)'
``` |
### Instruction:
An e-commerce company is building an AI to classify pictures of products into categories automatically. Recommend an API to help in classifying images.,
### Response:
| 'Load the pretrained ResNeSt-50 model from PyTorch Hub for high-performance image classification, which can be fine-tuned for the specific task of classifying e-commerce product images.', ```
'import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest50', pretrained=True)'
``` |
### Instruction:
A developer is trying to build an image classifier. Provide an API capable of classifying images and telling what objects are present.,
### Response:
| 'Load the pretrained Inception_v3 model from PyTorch Hub for image classification, which can predict objects present in a given image.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'inception_v3', pretrained=True)'
``` |
### Instruction:
Is there an API to implement ResNeSt for image classification purposes?,
### Response:
| 'Load the pretrained ResNeSt-200 model from PyTorch Hub for image classification.', ```
'import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest200', pretrained=True)'
``` |
### Instruction:
In order to create classifiers for popular recipes from the internet, I would like to locate an API that can efficiently classify a given food image.,
### Response:
| 'Load the pretrained ResNeSt269 model from PyTorch Hub, which can be fine-tuned for food image classification given an image of a recipe.', ```
"import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest269', pretrained=True)"
``` |
### Instruction:
Recommend me an API to classify images in a mobile app for users that sorts their images in predefined categories.,
### Response:
| 'Load the pretrained ProxylessNAS model optimized for mobile devices from PyTorch Hub, which can be fine-tuned for image classification in a mobile app.', ```
'import torch
model = torch.hub.load('mit-han-lab/ProxylessNAS', 'proxylessnas_mobile', pretrained=True)'
``` |
### Instruction:
I need to classify the content of an image using a pretrained model optimized for GPU. Show me an API that can do that.,
### Response:
| 'Load the pretrained ProxylessNAS model from PyTorch Hub, which is optimized for GPU and can be used to classify images.', ```
'import torch
model = torch.hub.load('mit-han-lab/ProxylessNAS', 'proxylessnas_gpu', pretrained=True)'
``` |
### Instruction:
I need an API for classifying objects in mobile application. What is the best API for classifying objects with mobile devices?,
### Response:
| 'Load the ProxylessNAS model from PyTorch Hub, which specializes in object classification for mobile devices and offers significant performance optimization.', ```
'import torch
model = torch.hub.load('mit-han-lab/ProxylessNAS', 'proxylessnas_mobile', pretrained=True)'
``` |
### Instruction:
A photographer needs an AI-based solution to help classify a variety of images. Recommend an appropriate API that can classify an image into one of 1000 categories.,
### Response:
| 'Load the pretrained MobileNet v2 model from PyTorch Hub for image classification, which can classify images into one of 1000 categories.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'mobilenet_v2', pretrained=True)'
``` |
### Instruction:
I have a large image dataset in need of image classification using deep residual networks. Can you recommend an API that can achieve this for me?,
### Response:
| 'Load the pretrained ResNet model from PyTorch Hub for deep residual image classification.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'resnet34', pretrained=True)'
``` |
### Instruction:
I am developing an app that can recognize diverse objects in pictures. Identify an API that can help me achieve this.,
### Response:
| 'Load the pretrained ResNet101 model from PyTorch Hub, which can classify images into diverse object categories.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'resnet101', pretrained=True)'
``` |
### Instruction:
I am having trouble with my tomato plants and want some help figuring out what's wrong with them. I need an AI that can spot diseases in plants given an image.,
### Response:
| 'Load a pretrained ResNet50 model from PyTorch Hub that can be fine-tuned for plant disease classification given an image of a plant.', ```
'import torch
model = torch.hub.load(repo_or_dir='pytorch/vision', model='resnet50', pretrained=True)'
``` |
### Instruction:
Which API should I use to build a tomato classification app that detects diseases in tomato plant leaves?,
### Response:
| "Use PyTorch's ResNet152 pre-trained model, which can be fine-tuned for the tomato leaf disease classification application.", ```
"import torch
model = torch.hub.load('pytorch/vision', 'resnet152', pretrained=True)"
``` |
### Instruction:
I want to categorize a given image into a certain class like animals or objects. Identify an API that can do that.,
### Response:
| 'Load the pretrained ResNext50_32x4d model from PyTorch Hub to categorize images into various classes such as animals or objects.', ```
"import torch
model = torch.hub.load('pytorch/vision', 'resnext50_32x4d', pretrained=True)"
``` |
### Instruction:
I want to sort images of animals into appropriate categories. What API should I use?,
### Response:
| 'Load the pretrained ResNext image classification model from PyTorch Hub, which can be fine-tuned to classify images of animals into appropriate categories.', ```
"import torch
model = torch.hub.load('pytorch/vision', 'resnext101_32x4d', pretrained=True)"
``` |
### Instruction:
Provide an API for classifying the objects present in an image.,
### Response:
| "Load the pretrained SNNMLP model for image classification from PyTorch Hub, capable of classifying objects in images based on the ImageNet dataset.", ```
'import torch
model = torch.hub.load("huawei-noah/Efficient-AI-Backbones", "snnmlp_b", pretrained=True)'
``` |
### Instruction:
I want an API that can classify images and tell me what the images are.,
### Response:
| 'Load the SNNMLP model from PyTorch Hub with pretrained weights for image classification. It can identify the content in the images.', ```
'import torch
model = torch.hub.load('huawei-noah/Efficient-AI-Backbones', 'snnmlp_s', pretrained=True)'
``` |
### Instruction:
Find me a pre-trained API to identify objects in real-time, taking into account a database of more than 100 classes from ImageNet.,
### Response:
| 'Load the pretrained SNNMLP Tiny model from PyTorch Hub trained on ImageNet, which contains more than 100 classes for object classification.', ```
'import torch
model = torch.hub.load('huawei-noah/Efficient-AI-Backbones', 'snnmlp_t', pretrained=True)'
``` |
### Instruction:
As a biologist, I need to identify the species in a photo. Which API should I use to classify images into different categories?,
### Response:
| 'Load the pretrained SqueezeNet v1.0 model from PyTorch Hub. This model can be fine-tuned for species classification.', ```
"import torch
model = torch.hub.load('pytorch/vision', 'squeezenet1_0', pretrained=True)"
``` |
### Instruction:
I need a lightweight API to classify images based on a training set of images from my new mobile app.,
### Response:
| 'Load the pre-trained ShuffleNet v2 model from PyTorch Hub. It is an efficient image classification model that is lightweight and suitable for usage in mobile apps.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'shufflenet_v2_x1_0', pretrained=True)'
``` |
### Instruction:
What is an efficient deep learning model for categorizing images into object classes with fewer parameters?,
### Response:
| 'Load the pretrained SqueezeNet 1.1 model for image classification from PyTorch Hub. It is efficient in terms of the number of parameters and model size, achieving AlexNet-level accuracy with 50x fewer parameters.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'squeezenet1_1', pretrained=True)'
``` |
### Instruction:
Recommend a well-tested API to identify objects in a digital photograph for my photo gallery website.,
### Response:
| 'Load the pretrained VGG-11 model for image recognition from PyTorch Hub to identify objects in a digital photograph.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'vgg11', pretrained=True)'
``` |
### Instruction:
I want an API that allows me to recognize and classify different breeds of dogs from images.,
### Response:
| "Load the pretrained VGG11 model with batch normalization from PyTorch Hub to classify different breeds of dogs from images. Fine-tune the model on a dataset of dog breed images.", ```
'import torch
model = torch.hub.load('pytorch/vision', 'vgg11_bn', pretrained=True)'
``` |
### Instruction:
I am a software engineer and I am trying to create an image recognition system for my latest project. Find an API that can tell me the category of the objects in a provided image.,
### Response:
| 'Load the VGG13 model with batch normalization from PyTorch Hub, which can be used for image recognition tasks to identify objects in a given image.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'vgg13_bn', pretrained=True)'
``` |
### Instruction:
Propose an API to identify what is in a photo of a bird in order to label it with the correct species.,
### Response:
| 'Load the pretrained VGG16 model from PyTorch Hub to recognize bird species in an image.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'vgg16', pretrained=True)'
``` |
### Instruction:
Tell me the best API to be used on a security camera to classify vehicles and details about them given an image,
### Response:
| 'Load the pretrained VGG19 model from PyTorch Hub to classify vehicles and their details from a given image captured by a security camera.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'vgg19', pretrained=True)'
``` |
### Instruction:
An e-commerce website looking for APIs to create image classifiers for their products. Offer a solution based on the VGG model.,
### Response:
| 'Load the pretrained VGG16 model with batch normalization from PyTorch Hub, which can be fine-tuned for product image classification tasks.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'vgg16_bn', pretrained=True)'
``` |
### Instruction:
Recommending the best machine learning models or APIs that is good for classifying a dataset of images with over 1000 categories.,
### Response:
| 'Load the pretrained VGG19 model with batch normalization from PyTorch Hub, suitable for classifying large datasets with over 1000 categories.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'vgg19_bn', pretrained=True)'
``` |
### Instruction:
An e-commerce platform wants to categorize their items by image. Tell me an API that can do this.,
### Response:
| 'Load the pretrained Wide ResNet-50-2 model for image classification from PyTorch Hub, which can be used to categorize items based on their images.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'wide_resnet50_2', pretrained=True)'
``` |
### Instruction:
Suggest a neural network that can effectively identify different types of birds in high-resolution images.,
### Response:
| 'Load the pretrained Wide ResNet 101 model from PyTorch Hub, which can be fine-tuned to identify different types of birds in high-resolution images.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'wide_resnet101_2', pretrained=True)'
``` |
### Instruction:
I want to build a video filter app that can separate video clips by different activities. Can you suggest an API that can classify videos into different categories based on the activities happening in the video?,
### Response:
| 'Load the pretrained SlowFast model for video classification from PyTorch Hub, which can classify video clips into different activity categories.', ```
'import torch
model = torch.hub.load('facebookresearch/pytorchvideo', 'slowfast_r50', pretrained=True)'
``` |
### Instruction:
What's the best API for automatically detecting sports or activities types in a video clip for an application?,
### Response:
| "Load the pretrained X3D model for video classification from PyTorch Hub, which can classify video clips into different sports or activities types based on the Kinetics 400 dataset.", ```
'import torch
model = torch.hub.load('facebookresearch/pytorchvideo', 'x3d_s', pretrained=True)'
``` |
### Instruction:
A mobile app company wants to build an object classification solution for their Android app. Give me an API that can classify objects in images with low latency and high accuracy.,
### Response:
| 'Load the pretrained Once-For-All (OFA) network from PyTorch Hub, a family of efficient neural networks designed for object classification in images, with low latency and high accuracy.', ```
'import torch
model = torch.hub.load('mit-han-lab/once-for-all', 'ofa_supernet_mbv3_w10', pretrained=True)'
``` |
### Instruction:
A wildlife photographer needs to classify his collection of animal images. Which API can be used to assist the photographer in image classification?,
### Response:
| 'Load the pretrained semi-supervised ResNet-18 model from PyTorch Hub for classifying images into different categories.', ```
'import torch
model = torch.hub.load('facebookresearch/semi-supervised-ImageNet1K-models', 'resnet18_swsl', pretrained=True)'
``` |
### Instruction:
I work at a small company that creates a deep learning-based smartphone app. I need a model to classify images super fast and with high performance. Guide me to the right API.,
### Response:
| 'Use the GPUNet model from NVIDIA that is optimized for deep learning image classification tasks and runs efficiently on GPU.', ```
"import torch
model_type = 'GPUNet-0'
precision = 'fp32'
gpunet = torch.hub.load('NVIDIA/DeepLearningExamples:torchhub', 'nvidia_gpunet', pretrained=True, model_type=model_type, model_ma... |
### Instruction:
Tell me an API for image classification with high accuracy and less computation resources.,
### Response:
| 'Load the pretrained EfficientNet model from PyTorch Hub, which achieves high accuracy while being small and fast, making it suitable for efficient image classification tasks.', ```
'import torch
model = torch.hub.load('NVIDIA/DeepLearningExamples:torchhub', 'nvidia_efficientnet_b0', pretrained=True)'
``` |
### Instruction:
A social media company wants to detect if an image uploaded by users contains any inappropriate content. Recommend an API for this.,
### Response:
| 'Load the pretrained Single Shot MultiBox Detector (SSD) model from PyTorch Hub, which can be used to detect objects in images with high accuracy and efficiency.', ```
"import torch
model = torch.hub.load('NVIDIA/DeepLearningExamples:torchhub', 'nvidia_ssd', pretrained=True)"
``` |
### Instruction:
Create a program to identify the species of a bird from an image taken from a bird watching trip in north America.,
### Response:
| 'Load the pretrained MEAL V2 model with ResNeSt50 backbone from PyTorch Hub. You can fine-tune this model for bird species classification using an annotated dataset of bird images.', ```
"import torch
model = torch.hub.load('szq0214/MEAL-V2', 'mealv2_resnest50_cutmix', pretrained=True)"
``` |
### Instruction:
I run an online fashion store, and I'm looking for an AI model that can categorize images of clothing items into their respective categories. Suggest a suitable API for me to use.,
### Response:
| 'Load the pretrained MEAL V2 ResNet50 model from PyTorch Hub, which can be fine-tuned for fashion item classification.', ```
"import torch
model = torch.hub.load('szq0214/MEAL-V2', 'meal_v2', model='mealv2_resnest50', pretrained=True)"
``` |
### Instruction:
What API do you recommend to discriminate between different breeds of dogs using only the color of the dogs?,
### Response:
| 'Load the pretrained MEAL V2 model with MobileNet V3-Small 1.0 architecture from PyTorch Hub. This model can be fine-tuned for dog breed classification based on their color.', ```
"import torch
model = torch.hub.load('szq0214/MEAL-V2', 'meal_v2', 'mealv2_mobilenetv3_small_100', pretrained=True)"
``` |
### Instruction:
Present an API to determine what plant is in a photo from a database containing 100,000 images without the use of common tricks.,
### Response:
| "Load the pretrained MEAL V2 model from PyTorch Hub, which can be fine-tuned for plant classification without common tricks. The model yields state-of-the-art results on large databases.", ```
"import torch
model = torch.hub.load('szq0214/MEAL-V2', 'meal_v2', model='mealv2_resnest50_380x380', pretrained=True)"
``` |
### Instruction:
I am working on a project to classify images into different classes. Give me a API that has been pre-trained and can classify images across a wide range of categories.,
### Response:
| 'Load the pretrained MEAL V2 model with MobileNet V3-Small 0.75 architecture from PyTorch Hub, which can classify images across a wide range of categories.', ```
"import torch
model = torch.hub.load('szq0214/MEAL-V2', 'meal_v2', model='mealv2_mobilenetv3_small_075', pretrained=True)"
``` |
### Instruction:
I need an API that does Image Classification, which is pretrained on ImageNet dataset and has high accuracy.,
### Response:
| 'Load the pretrained MEAL_V2 model based on MobileNet V3-Large 1.0, which has an accuracy of 76.92% (Top-1) and 93.32% (Top-5) on the ImageNet dataset.', ```
"import torch
model = torch.hub.load('szq0214/MEAL-V2', 'meal_v2', 'mealv2_mobilenet_v3_large_100', pretrained=True)"
``` |
### Instruction:
FastEVs is developing an electric autonomous vehicle and needs an API to perceive traffic objects and detect drivable areas in real-time. Recommend a suitable API.,
### Response:
| 'Load the pretrained HybridNets model from PyTorch Hub to detect traffic objects, drivable areas, and lanes in real-time for autonomous vehicles.', ```
"import torch
model = torch.hub.load('datvuthanh/hybridnets', 'hybridnets', pretrained=True)"
``` |
### Instruction:
Develop an application that classifies actions in sports videos. Recommend a suitable API to help analyze the videos and understand the actions performed.,
### Response:
| 'Load the pretrained 3D ResNet model from PyTorch Hub, which is trained on the Kinetics 400 dataset and can be used to classify sports actions performed in videos.', ```
'import torch
model = torch.hub.load('facebookresearch/pytorchvideo', 'slow_r50', pretrained=True)'
``` |
### Instruction:
A startup is looking to build a drone security system for detecting intruders in restricted areas. Suggest an API suitable for this task.,
### Response:
| 'Load the pretrained MEAL V2 model with EfficientNet-B0 for image classification from PyTorch Hub. This high-performance model can be fine-tuned to detect intruders in restricted areas.', ```
"import torch
model = torch.hub.load('szq0214/MEAL-V2', 'meal_v2', model='mealv2_efficientnet_b0', pretrained=True)"
``` |
### Instruction:
An autonomous vehicle company requires an API capable of object detection, drivable area segmentation, and lane detection. Provide the API and an example code to fulfill their requirements.,
### Response:
| 'Load the pretrained YOLOP model from PyTorch Hub, which can perform object detection, drivable area segmentation, and lane detection tasks.', ```
"import torch
model = torch.hub.load('hustvl/yolop', 'yolop', pretrained=True)
img = torch.randn(1, 3, 640, 640)
det_out, da_seg_out, ll_seg_out = model(img)"
``` |
### Instruction:
I want to calculate the relative depth of a scene from a single photo. Recommend an API for this purpose.,
### Response:
| 'Load the pretrained MiDaS model from PyTorch Hub, which is designed to compute relative inverse depth from a single image.', ```
'import torch
model = torch.hub.load('intel-isl/MiDaS', 'DPT_Hybrid', pretrained=True)'
``` |
### Instruction:
I have a photo of an outdoor landscape, and I want to determine the relative depth of objects in the image. Provide an API that will help me achieve this.,
### Response:
| 'Load the pretrained MiDaS model from PyTorch Hub to compute the relative depth of objects in a single image.', ```
"import torch
model = torch.hub.load('intel-isl/MiDaS', 'MiDaS_small', pretrained=True)"
``` |
### Instruction:
I want an API to separate music into vocals, drums, bass, and other instruments for a music application I am developing. What API should I use?,
### Response:
| 'Use the Open-Unmix model from PyTorch Hub for separating music into vocals, drums, bass, and other instruments. The model is pretrained on the MUSDB18 dataset.', ```
'import torch
separator = torch.hub.load("sigsep/open-unmix-pytorch", "umxhq", pretrained=True)'
``` |
### Instruction:
I am building a bird identification app but I have trouble indentifying birds from photo. Which API can I use to indentify birds given a photo?,
### Response:
| 'Load the pretrained NTS-Net model from PyTorch Hub to identify bird species in a given photo. This model is specifically trained on the CUB200 2011 dataset of bird species.', ```
'import torch
model = torch.hub.load('nicolalandro/ntsnet-cub200', 'ntsnet', pretrained=True, **{"topN": 6, "device":"cpu", "num_classes":... |
### Instruction:
Identify an API to perform semantic segmentation of the street labeled with road, sidewalk, and building for a given picture.,
### Response:
| 'Load the pretrained DeepLabV3 model with a ResNet-50 backbone from PyTorch Hub, which can be fine-tuned to perform semantic segmentation of street elements like roads, sidewalks, and buildings.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'deeplabv3_resnet50', pretrained=True)'
``` |
### Instruction:
A photographer wants to separate the foreground and background in their images using semantic segmentation. Suggest an API for this purpose.,
### Response:
| 'Load the pretrained DeepLabV3 model for semantic segmentation from PyTorch Hub to separate the foreground and background in images.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'deeplabv3_mobilenet_v3_large', pretrained=True)'
``` |
### Instruction:
Propose a neural network model to use for detecting furniture in photos and identifying their types.,
### Response:
| 'Load the pretrained YOLOv5 model from PyTorch Hub, which can be fine-tuned for detecting furniture in images and classifying them into types.', ```
'import torch
model = torch.hub.load('ultralytics/yolov5', 'yolov5s', pretrained=True)'
``` |
### Instruction:
Recommend me an API that identifies animals in a given image to feed as data to other functionalities.,
### Response:
| 'Load the pretrained ResNext-101 32x16d WSL model from PyTorch Hub, which can be fine-tuned for animal classification given an image.', ```
'import torch
model = torch.hub.load('facebookresearch/WSL-Images', 'resnext101_32x16d_wsl', pretrained=True)'
``` |
### Instruction:
We are building an image classifier for our meme sharing platform. Suggest an API for high-accuracy image classification.,
### Response:
| 'Load the pretrained ResNext WSL model from PyTorch Hub, which can achieve state-of-the-art accuracy for image classification tasks.', ```
'import torch
model = torch.hub.load('facebookresearch/WSL-Images', 'resnext101_32x48d_wsl', pretrained=True)'
``` |
### Instruction:
Suggest an API that can identify the species of a bird from an image taken in Yosemite National Park.,
### Response:
| 'Load the pretrained ResNeXt WSL model from PyTorch Hub, which can be fine-tuned for bird species classification using an image taken in Yosemite National Park.', ```
'import torch
model = torch.hub.load('facebookresearch/WSL-Images', 'resnext101_32x32d_wsl', pretrained=True)'
``` |
### Instruction:
An artist is trying to generate new art from existing 64x64 art images for an online gallery. Provide me an API that can generate new images utilizing training data of previously generated art images.,
### Response:
| 'Load the pretrained DCGAN model from PyTorch Hub, which can be fine-tuned with existing 64x64 art images to generate new images for the online gallery.', ```
'import torch
use_gpu = True if torch.cuda.is_available() else False
model = torch.hub.load('facebookresearch/pytorch_GAN_zoo:hub', 'DCGAN', pretrained=True, u... |
### Instruction:
I want to know more about ResNet50 from NVIDIA Deep Learning Examples. Provide me with an API that I can use in my system to classify images with high precision.,
### Response:
| 'Load the pretrained ResNet50 model from NVIDIA Deep Learning Examples using PyTorch Hub for high-precision image classification tasks.', ```
"import torch
model = torch.hub.load('NVIDIA/DeepLearningExamples:torchhub', 'nvidia_resnet50', pretrained=True)"
``` |
### Instruction:
I need to create an image of a realistic building. Is there an API that can help me with this?,
### Response:
| 'The pretrained Progressive Growing of GANs (PGAN) model from PyTorch Hub can generate high-quality, realistic images. However, this model is specifically trained on human faces. You may need to find or train a similar model on a dataset containing images of buildings.', ```
'import torch
use_gpu = True if torch.cuda... |
### Instruction:
A medical researcher from Johns Hopkins University wants to analyze brain MRI scans for tumor detection. Recommend an API that can perform tumor segmentation in brain MRI images.,
### Response:
| 'Load the pretrained U-Net model for brain MRI segmentation from PyTorch Hub, which can generate segmentation maps for detecting tumors in brain MRI images.', ```
'import torch
model = torch.hub.load('mateuszbuda/brain-segmentation-pytorch', 'unet', in_channels=3, out_channels=1, init_features=32, pretrained=True)'
`... |
### Instruction:
Can you help me find an API for image classification which can recognize the objects in a given image?,
### Response:
| 'Load the pre-trained ResNeXt101-32x4d model from PyTorch Hub for image classification, which can recognize the objects in a given image.', ```
'import torch
model = torch.hub.load("NVIDIA/DeepLearningExamples:torchhub", "nvidia_resneXt", pretrained=True)'
``` |
### Instruction:
Derive a recommendation for a CNN used in image classification, trained on the ImageNet dataset.,
### Response:
| 'Load the pretrained SE-ResNeXt101-32x4d model from PyTorch Hub for image classification. This model is trained on the ImageNet dataset and augmented with Squeeze-and-Excitation modules.', ```
"import torch
model = torch.hub.load('NVIDIA/DeepLearningExamples:torchhub', 'nvidia_se_resnext101_32x4d', pretrained=True)"
... |
### Instruction:
What is an API that does an automatic image classification of flowers?,
### Response:
| 'Load the pretrained DenseNet-121 model from PyTorch Hub, which can be fine-tuned for automatic flower classification.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'densenet121', pretrained=True)'
``` |
### Instruction:
A company wants to develop a text classification model for their customer support operations. Suggest an API that uses transfer learning to achieve this.,
### Response:
| "Load the pretrained RoBERTa model for text classification from PyTorch Hub, which is a robustly optimized version of BERT, capable of efficiently classifying texts using transfer learning.", ```
'import torch
model = torch.hub.load(repo_or_dir="pytorch/fairseq", model="roberta.large", pretrained=True)'
``` |
### Instruction:
Suggest an API able to classify images with a high level of accuracy, using the fewest possible parameters.,
### Response:
| 'Load the pretrained DenseNet-201 model from PyTorch Hub, which efficiently classifies images with high accuracy and fewer parameters.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'densenet201', pretrained=True)'
``` |
### Instruction:
I need a model for classifying images, and I want to use Densenet-169. Give me an API to use.,
### Response:
| 'Load the pre-trained DenseNet-169 model from PyTorch Hub for image classification.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'densenet169', pretrained=True)'
``` |
### Instruction:
Design an image classification model to recognize different objects in images. Recommend an API appropriate for this task.,
### Response:
| 'Load the pretrained DenseNet-161 model from PyTorch Hub for image classification tasks, which can recognize various objects and categories in images.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'densenet161', pretrained=True)'
``` |
### Instruction:
Find a suitable API to perform semantic segmentation of an aerial image into building, road, and vegetation.,
### Response:
| 'Load the pretrained FCN-ResNet101 model from PyTorch Hub to segment aerial images into building, road, and vegetation. You will need to fine-tune the model on an appropriate dataset for this task.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'fcn_resnet101', pretrained=True)'
``` |
### Instruction:
Recommend an API that can classify images using a fast and efficient model.,
### Response:
| 'Load the pretrained HarDNet (Harmonic DenseNet) model from PyTorch Hub to quickly and efficiently classify images.', ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet85', pretrained=True)'
``` |
### Instruction:
Can you suggest an efficient API for classifying a large collection of images that minimizes computational cost?,
### Response:
| 'Load the pretrained GhostNet model from PyTorch Hub, which is designed for efficient image classification with minimal computational cost.', ```
'import torch
model = torch.hub.load('huawei-noah/ghostnet', 'ghostnet_1x', pretrained=True)'
``` |
### Instruction:
Identify an API that can classify flora and fauna species by analyzing images.,
### Response:
| "Load the pretrained HarDNet model from PyTorch Hub, which can be fine-tuned for classifying flora and fauna species based on input images.", ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet39ds', pretrained=True)'
``` |
### Instruction:
A robotics company wants to reduce the computational and memory cost of an image classification model for mobile robot applications. Suggest an API suited for this.,
### Response:
| 'Load the pretrained HarDNet-68DS model from PyTorch Hub, as it is designed for mobile applications and offers low computational and memory cost.', ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet68ds', pretrained=True)'
``` |
### Instruction:
I need an API to help identify dog breeds in images. Recommend one with a light model that is fast in processing the images.,
### Response:
| 'Load the pretrained HarDNet-68 model from PyTorch Hub, known for its fast and efficient image classification. You can fine-tune it to identify dog breeds from images.', ```
'import torch
model = torch.hub.load('PingoLH/Pytorch-HarDNet', 'hardnet68', pretrained=True)'
``` |
### Instruction:
Find an API suitable for cross-domain image classification with high accuracy.,
### Response:
| 'Load the pretrained ResNeXt-101-IBN-a model from PyTorch Hub, which is suitable for cross-domain image classification tasks and has high accuracy.', ```
'import torch
model = torch.hub.load('XingangPan/IBN-Net', 'resnext101_ibn_a', pretrained=True)'
``` |
### Instruction:
Recommend an API that can create models having domain or appearance invariance.,
### Response:
| 'Load the pretrained IBN-Net (ResNet-101-IBN-a) model from PyTorch Hub for creating models with domain or appearance invariance.', ```
'import torch
model = torch.hub.load('XingangPan/IBN-Net', 'resnet101_ibn_a', pretrained=True)'
``` |
### Instruction:
I need to re-identify a person in a different set of images, suggest an API I can use to make this process easier.,
### Response:
| 'Load the pretrained ResNet-50-IBN-a model from PyTorch Hub, which is designed for tasks like person re-identification, due to its domain/appearance invariance.', ```
'import torch
model = torch.hub.load('XingangPan/IBN-Net', 'resnet50_ibn_a', pretrained=True)'
``` |
### Instruction:
Find me an API for classifying different breeds of dogs from their photos.,
### Response:
| 'Load the pretrained Inception v3 model from PyTorch Hub, which can be fine-tuned for dog breed classification from images.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'inception_v3', pretrained=True)'
``` |
### Instruction:
My manager just asked me to implement a classification system that can categorize pictures into different animal species. Can you recommend an API that can help me with this task?,
### Response:
| "Load the pretrained ResNeSt model from PyTorch Hub, which can be fine-tuned for the classification task of categorizing pictures into different animal species.", ```
'import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest50', pretrained=True)'
``` |
### Instruction:
Detect the type of tree species in a park from an image taken by a smartphone. Provide an API that can help with this classification problem.,
### Response:
| 'Load the pretrained ResNeSt-101 model from PyTorch Hub, which can be fine-tuned for tree species classification from smartphone images.', ```
'import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest101', pretrained=True)'
``` |
### Instruction:
Many people loves to create different memes. Propose an API that can use keywords from meme text to detect if a meme is negative or not.,
### Response:
| 'Load the pretrained ResNeSt model from PyTorch Hub, which can be fine-tuned for meme sentiment classification based on text keywords.', ```
'import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest200', pretrained=True)'
``` |
### Instruction:
Can you find an API that can identify objects in images?,
### Response:
| 'Load the pretrained ResNeSt-269 model from PyTorch Hub for image classification, which can identify objects within images.', ```
'import torch
model = torch.hub.load('zhanghang1989/ResNeSt', 'resnest269', pretrained=True)
model.eval()'
``` |
### Instruction:
Tell me an API that can classify a given image into one of the predefined categories.,
### Response:
| 'Load a pre-trained ResNet18 model from PyTorch Hub for image classification, which can classify an image into one of the pre-defined categories.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'resnet18', pretrained=True)'
``` |
### Instruction:
I want to perform classification on my dataset with a model that is optimized for a CPU. Suggest me an API.,
### Response:
| 'Use the ProxylessNAS model optimized for CPU from PyTorch Hub for efficient classification on your dataset.', ```
'import torch
model = torch.hub.load('mit-han-lab/ProxylessNAS', 'proxylessnas_cpu', pretrained=True)'
``` |
### Instruction:
I want to classify images on my mobile efficiently. Suggest an API to achieve this.,
### Response:
| 'Load the pretrained ProxylessNAS Mobile model from PyTorch Hub, which is optimized for high-efficiency image classification on mobile devices.', ```
'import torch
model = torch.hub.load('mit-han-lab/ProxylessNAS', 'proxylessnas_mobile', pretrained=True)'
``` |
### Instruction:
A company needs to classify a large number of photos by their content. Suggest an API that is optimized for GPU and can perform classifications efficiently.,
### Response:
| 'Load the pretrained ProxylessNAS GPU-optimized model from PyTorch Hub, which can efficiently classify images using a GPU.', ```
'import torch
model = torch.hub.load('mit-han-lab/ProxylessNAS', 'proxylessnas_gpu', pretrained=True)'
``` |
### Instruction:
I need to create an app that can analyze food image and can tell its catagory like pizza, burger, etc. Write an API that can help me in achieving this.,
### Response:
| 'Load the pretrained MobileNet v2 model from PyTorch Hub, which can be fine-tuned for food classification given an input image of food items like pizza, burger, etc.', ```
'import torch
model = torch.hub.load('pytorch/vision', 'mobilenet_v2', pretrained=True)'
``` |
### Instruction:
Design me an API for classifying images using a pretrained model.,
### Response:
| "Load the pre-trained ResNet34 model from PyTorch Hub for image classification.", ```
'import torch
model = torch.hub.load('pytorch/vision', 'resnet34', pretrained=True)'
``` |
### Instruction:
Can you customize an API that can detect eco-friendly packaging from photos?,
### Response:
| "Load the pretrained ResNet101 model from PyTorch Hub, which can be fine-tuned for eco-friendly packaging detection from photos.", ```
'import torch
model = torch.hub.load('pytorch/vision', 'resnet101', pretrained=True)'
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.