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
e95db7aa
".github/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "d8a095efdc323dee20d8c839fadf6edecdfd84e7"
Unverified
Commit
e95db7aa
authored
Sep 02, 2021
by
Saswat Das
Committed by
GitHub
Sep 02, 2021
Browse files
Fixed typo in gallery example (#4352)
parent
ad3c3f78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gallery/plot_scripted_tensor_transforms.py
gallery/plot_scripted_tensor_transforms.py
+1
-1
No files found.
gallery/plot_scripted_tensor_transforms.py
View file @
e95db7aa
...
@@ -133,7 +133,7 @@ for i, (pred, pred_scripted) in enumerate(zip(res, res_scripted)):
...
@@ -133,7 +133,7 @@ for i, (pred, pred_scripted) in enumerate(zip(res, res_scripted)):
print
(
f
"Prediction for Dog
{
i
+
1
}
:
{
labels
[
str
(
pred
.
item
())]
}
"
)
print
(
f
"Prediction for Dog
{
i
+
1
}
:
{
labels
[
str
(
pred
.
item
())]
}
"
)
####################################
####################################
# Since the model is scripted, it can be easily dumped on disk an re-used
# Since the model is scripted, it can be easily dumped on disk an
d
re-used
import
tempfile
import
tempfile
...
...
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