Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
ba7ce61e
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "48a6d29550f85d83951e8b7c2f7fedc1647012e4"
Unverified
Commit
ba7ce61e
authored
Aug 17, 2023
by
Nicolas Hug
Committed by
GitHub
Aug 17, 2023
Browse files
Add google collab link for gallery examples (#7843)
parent
9040793b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
.github/workflows/docs.yml
.github/workflows/docs.yml
+7
-0
gallery/plot_datapoints.py
gallery/plot_datapoints.py
+2
-0
No files found.
.github/workflows/docs.yml
View file @
ba7ce61e
...
@@ -55,6 +55,13 @@ jobs:
...
@@ -55,6 +55,13 @@ jobs:
# cores (`-j auto`). Thus, we limit to a single process (`-j 1`) here.
# cores (`-j auto`). Thus, we limit to a single process (`-j 1`) here.
sed -i -e 's/-j auto/-j 1/' Makefile
sed -i -e 's/-j auto/-j 1/' Makefile
make html
make html
mkdir build/html/_generated_ipynb_notebooks
for file in `find build/html/_downloads`; do
if [[ $file == *.ipynb ]]; then
cp $file build/html/_generated_ipynb_notebooks/
fi
done
cp -r build/html "${RUNNER_ARTIFACT_DIR}"
cp -r build/html "${RUNNER_ARTIFACT_DIR}"
...
...
gallery/plot_datapoints.py
View file @
ba7ce61e
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
Datapoints FAQ
Datapoints FAQ
==============
==============
https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/_generated_ipynb_notebooks/plot_datapoints.ipynb
Datapoints are Tensor subclasses introduced together with
Datapoints are Tensor subclasses introduced together with
``torchvision.transforms.v2``. This example showcases what these datapoints are
``torchvision.transforms.v2``. This example showcases what these datapoints are
and how they behave.
and how they behave.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment