question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add new illustrations of transforms

See original GitHub issue

With https://github.com/pytorch/vision/pull/3652 merged, we can now illustrate how each transforms affects an image via a sphinx-gallery example:

https://519065-73328905-gh.circle-artifacts.com/0/docs/auto_examples/plot_transforms.html#sphx-glr-auto-examples-plot-transforms-py

The goal of this issue is to add more transforms to this file: https://github.com/pytorch/vision/blob/master/gallery/plot_transforms.py

Instructions:

  • pick you favourite transform that isn’t already present in the example (after checking below that no one is already working on it)
  • comment below “I’m working on <the transform>” so that others don’t pick the same one
  • edit the example file with something that properly illustrate the transform, taking inspiration from the already present transforms
  • Build the docs following the instructions here, check that everything is fine, then submit a PR.

You can pick more than one transform in the same PR if you feel like it.

cc @vfdev-5

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
harishsdevcommented, Apr 20, 2021

Hi all,i would like to work on below transforms

RandomApply RandomCrop RandomGrayscale RandomHorizontalFlip RandomResizedCrop RandomVerticalFlip GaussianBlur

4reactions
oke-adityacommented, May 21, 2021

Hi @NicolasHug I can pick a few. Let’s keep track.

In order as they appear in Docs

Torchvision Transforms on PIL Image and Torch Tensor.

  • CenterCrop
  • ColorJitter
  • FiveCrop
  • Grayscale
  • Pad
  • RandomAffine
  • RandomApply
  • RandomCrop
  • RandomGrayscale
  • RandomHorizontalFlip
  • RandomPerspective
  • RandomResizedCrop
  • RandomRotation
  • RandomVerticalFlip
  • Resize Scale
  • GaussianBlur
  • AutoAugment
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to transform objects in Illustrator - Adobe Support
Use the Transform panel to view one or more selected objects' locations, sizes, and orientations. Type new values to modify the selected ...
Read more >
How to use the Free Transform Tool in Adobe Illustrator CC
If you need to skew text or shapes on the fly, the Free Transform tool works great!Join our Illustrator Facebook Group: ...
Read more >
Adobe Illustrator Tutorial: Using the transform tools in Illustrator
Adobe Illustrator Tutorial: Using the transform tools in Illustrator · 1 Click and hold on the Star tool ( ) in the Tools...
Read more >
Illustration of transforms — Torchvision main documentation
Illustration of transforms. This example illustrates the various transforms available in the torchvision.transforms module.
Read more >
Using the Free Transform Tool | Working with Objects in ...
Select one or more objects to transform. ... Select the Free Transform tool on the Tools panel. ... To adjust the reference point...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found