Package: torchvision 0.6.0.9000

Daniel Falbel

torchvision: Models, Datasets and Transformations for Images

Provides access to datasets, models and preprocessing facilities for deep learning with images. Integrates seamlessly with the 'torch' package and it's 'API' borrows heavily from 'PyTorch' vision package.

Authors:Daniel Falbel [aut, cre], Christophe Regouby [ctb], RStudio [cph]

torchvision_0.6.0.9000.tar.gz
torchvision_0.6.0.9000.zip(r-4.5)torchvision_0.6.0.9000.zip(r-4.4)torchvision_0.6.0.9000.zip(r-4.3)
torchvision_0.6.0.9000.tgz(r-4.4-any)torchvision_0.6.0.9000.tgz(r-4.3-any)
torchvision_0.6.0.9000.tar.gz(r-4.5-noble)torchvision_0.6.0.9000.tar.gz(r-4.4-noble)
torchvision_0.6.0.9000.tgz(r-4.4-emscripten)torchvision_0.6.0.9000.tgz(r-4.3-emscripten)
torchvision.pdf |torchvision.html
torchvision/json (API)
NEWS

# Install 'torchvision' in R:
install.packages('torchvision', repos = c('https://mlverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mlverse/torchvision/issues

On CRAN:

70 exports 62 stars 4.81 score 22 dependencies 4 dependents 22 mentions 210 scripts 1.4k downloads

Last updated 16 hours agofrom:df06f28be4. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 17 2024
R-4.5-winOKSep 17 2024
R-4.5-linuxOKSep 17 2024
R-4.4-winOKSep 17 2024
R-4.4-macOKSep 17 2024
R-4.3-winOKSep 17 2024
R-4.3-macOKSep 17 2024

Exports:base_loadercifar10_datasetcifar100_datasetdraw_bounding_boxesdraw_keypointsdraw_segmentation_masksimage_folder_datasetkmnist_datasetmagick_loadermnist_datasetmodel_alexnetmodel_inception_v3model_mobilenet_v2model_resnet101model_resnet152model_resnet18model_resnet34model_resnet50model_resnext101_32x8dmodel_resnext50_32x4dmodel_vgg11model_vgg11_bnmodel_vgg13model_vgg13_bnmodel_vgg16model_vgg16_bnmodel_vgg19model_vgg19_bnmodel_wide_resnet101_2model_wide_resnet50_2tensor_image_browsetensor_image_displaytiny_imagenet_datasettransform_adjust_brightnesstransform_adjust_contrasttransform_adjust_gammatransform_adjust_huetransform_adjust_saturationtransform_affinetransform_center_croptransform_color_jittertransform_convert_image_dtypetransform_croptransform_five_croptransform_grayscaletransform_hfliptransform_linear_transformationtransform_normalizetransform_padtransform_perspectivetransform_random_affinetransform_random_applytransform_random_choicetransform_random_croptransform_random_erasingtransform_random_grayscaletransform_random_horizontal_fliptransform_random_ordertransform_random_perspectivetransform_random_resized_croptransform_random_rotationtransform_random_vertical_fliptransform_resizetransform_resized_croptransform_rgb_to_grayscaletransform_rotatetransform_ten_croptransform_to_tensortransform_vflipvision_make_grid

Dependencies:abindbitbit64callrclicorodescfsgluejpegjsonlitemagrittrpngprocessxpsR6rappdirsRcpprlangsafetensorstorchwithr

Readme and manuals

Help Manual

Help pageTopics
Base loaderbase_loader
Cifar datasetscifar100_dataset cifar10_dataset
Draws bounding boxes on image.draw_bounding_boxes
Draws Keypointsdraw_keypoints
Draw segmentation masksdraw_segmentation_masks
Create an image folder datasetimage_folder_dataset
Kuzushiji-MNISTkmnist_dataset
Load an Image using ImageMagickmagick_loader
MNIST datasetmnist_dataset
AlexNet Model Architecturemodel_alexnet
Inception v3 modelmodel_inception_v3
Constructs a MobileNetV2 architecture from MobileNetV2: Inverted Residuals and Linear Bottlenecks.model_mobilenet_v2
ResNet implementationmodel_resnet model_resnet101 model_resnet152 model_resnet18 model_resnet34 model_resnet50 model_resnext101_32x8d model_resnext50_32x4d model_wide_resnet101_2 model_wide_resnet50_2
VGG implementationmodel_vgg model_vgg11 model_vgg11_bn model_vgg13 model_vgg13_bn model_vgg16 model_vgg16_bn model_vgg19 model_vgg19_bn
Display image tensortensor_image_browse
Display image tensortensor_image_display
Tiny ImageNet datasettiny_imagenet_dataset
Adjust the brightness of an imagetransform_adjust_brightness
Adjust the contrast of an imagetransform_adjust_contrast
Adjust the gamma of an RGB imagetransform_adjust_gamma
Adjust the hue of an imagetransform_adjust_hue
Adjust the color saturation of an imagetransform_adjust_saturation
Apply affine transformation on an image keeping image center invarianttransform_affine
Crops the given image at the centertransform_center_crop
Randomly change the brightness, contrast and saturation of an imagetransform_color_jitter
Convert a tensor image to the given 'dtype' and scale the values accordinglytransform_convert_image_dtype
Crop the given image at specified location and output sizetransform_crop
Crop image into four corners and a central croptransform_five_crop
Convert image to grayscaletransform_grayscale
Horizontally flip a PIL Image or Tensortransform_hflip
Transform a tensor image with a square transformation matrix and a mean_vector computed offlinetransform_linear_transformation
Normalize a tensor image with mean and standard deviationtransform_normalize
Pad the given image on all sides with the given "pad" valuetransform_pad
Perspective transformation of an imagetransform_perspective
Random affine transformation of the image keeping center invarianttransform_random_affine
Apply a list of transformations randomly with a given probabilitytransform_random_apply
Apply single transformation randomly picked from a listtransform_random_choice
Crop the given image at a random locationtransform_random_crop
Randomly selects a rectangular region in an image and erases its pixel valuestransform_random_erasing
Randomly convert image to grayscale with a given probabilitytransform_random_grayscale
Horizontally flip an image randomly with a given probabilitytransform_random_horizontal_flip
Apply a list of transformations in a random ordertransform_random_order
Random perspective transformation of an image with a given probabilitytransform_random_perspective
Crop image to random size and aspect ratiotransform_random_resized_crop
Rotate the image by angletransform_random_rotation
Vertically flip an image randomly with a given probabilitytransform_random_vertical_flip
Resize the input image to the given sizetransform_resize
Crop an image and resize it to a desired sizetransform_resized_crop
Convert RGB Image Tensor to Grayscaletransform_rgb_to_grayscale
Angular rotation of an imagetransform_rotate
Crop an image and the flipped image each into four corners and a central croptransform_ten_crop
Convert an image to a tensortransform_to_tensor
Vertically flip a PIL Image or Tensortransform_vflip
A simplified version of torchvision.utils.make_gridvision_make_grid