Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples for RandomPerspective, RandomRotation, and RandomAffine #3694

Merged
merged 4 commits into from
Apr 20, 2021

Conversation

voldemortX
Copy link
Contributor

@voldemortX voldemortX commented Apr 20, 2021

Add examples for RandomPerspective, RandomRotation, and RandomAffine in doc. #3688
cc @NicolasHug

results

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @voldemortX, looks great !

The rendered docs are here: https://524637-73328905-gh.circle-artifacts.com/0/docs/auto_examples/plot_transforms.html#sphx-glr-auto-examples-plot-transforms-py

You can find them by clicking on the "build_docs" CI job and then going to the "Artifacts" tab

####################################
# RandomPerspective
# -----------------
# The :class:`~torchvision.transforms.RandomPerspective` transform
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below, let's add a "see also the functional equivalent" as done for the other transforms (except for the jitter because it doesn't exists).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I found the artifacts.
I'll add the non-random equivalents.

@voldemortX
Copy link
Contributor Author

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @voldemortX !

@NicolasHug NicolasHug merged commit a18b4af into pytorch:master Apr 20, 2021
facebook-github-bot pushed a commit that referenced this pull request May 4, 2021
…omAffine (#3694)

Reviewed By: NicolasHug

Differential Revision: D28169140

fbshipit-source-id: 6b0014eea78474c86a4deedb7361cbbd4b2d1d83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants