Skip to content

Commit 51be97e

Browse files
authored
step5
1 parent d52cf15 commit 51be97e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transfer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from util import html
1515
import src.config.test_opt as opt
1616

17-
os.environ['CUDA_VISIBLE_DEVICES'] = "3"
17+
os.environ['CUDA_VISIBLE_DEVICES'] = "0"
1818
iter_path = os.path.join(opt.checkpoints_dir, opt.name, 'iter.txt')
1919

2020
data_loader = CreateDataLoader(opt)
@@ -35,4 +35,4 @@
3535
img_path = data['path']
3636
visualizer.save_images(webpage, visuals, img_path)
3737
webpage.save()
38-
torch.cuda.empty_cache()
38+
torch.cuda.empty_cache()

0 commit comments

Comments
 (0)