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
ceb1a627
Commit
ceb1a627
authored
Nov 14, 2022
by
panning
Browse files
pytest "set_deterministic"
parent
3c106aa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
test/test_transforms_tensor.py
test/test_transforms_tensor.py
+3
-1
No files found.
test/test_transforms_tensor.py
View file @
ceb1a627
...
...
@@ -676,7 +676,9 @@ class Tester(TransformsTester):
class
CUDATester
(
Tester
):
def
setUp
(
self
):
torch
.
set_deterministic
(
False
)
#pan
#torch.set_deterministic(False)
torch
.
use_deterministic_algorithms
(
False
)
self
.
device
=
"cuda"
...
...
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