Skip to content

Commit b5b0261

Browse files
committed
update
1 parent 47e89a0 commit b5b0261

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110

111111

112112
def reset_seeds(gallery_conf, fname):
113+
global torch
113114
torch.cuda.empty_cache()
114115
torch.manual_seed(42)
115116
torch.set_default_device(None)

0 commit comments

Comments
 (0)