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
OpenFold
Commits
f9dc8b15
Commit
f9dc8b15
authored
Dec 30, 2021
by
Gustaf Ahdritz
Browse files
Remove CUDA_VISIBLE_DEVICES setting
parent
96809433
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openfold/data/mmcif_parsing.py
openfold/data/mmcif_parsing.py
+1
-1
train_openfold.py
train_openfold.py
+1
-1
No files found.
openfold/data/mmcif_parsing.py
View file @
f9dc8b15
...
...
@@ -476,7 +476,7 @@ def get_atom_coords(
all_atom_mask
[
res_index
]
=
mask
if
zero_center
:
binary_mask
=
all_atom_mask
.
astype
(
np
.
bool
)
binary_mask
=
all_atom_mask
.
astype
(
bool
)
translation_vec
=
all_atom_positions
[
binary_mask
].
mean
(
axis
=
0
)
all_atom_positions
[
binary_mask
]
-=
translation_vec
...
...
train_openfold.py
View file @
f9dc8b15
...
...
@@ -2,7 +2,7 @@ import argparse
import
logging
import
os
os
.
environ
[
"CUDA_VISIBLE_DEVICES"
]
=
"
4,5
"
#
os.environ["CUDA_VISIBLE_DEVICES"] = "
0
"
#os.environ["MASTER_ADDR"]="10.119.81.14"
#os.environ["MASTER_PORT"]="42069"
#os.environ["NODE_RANK"]="0"
...
...
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