Skip to content

Commit 38329c3

Browse files
committed
updating
1 parent 6327d48 commit 38329c3

File tree

1 file changed

+1
-1
lines changed
  • Aerial-Drone-Images-Semantic-Segmentation-PyTorch-Inception-V4-Pretrained

1 file changed

+1
-1
lines changed

Aerial-Drone-Images-Semantic-Segmentation-PyTorch-Inception-V4-Pretrained/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from utils import *
2727
from datagen import *
2828

29-
device = torch.device("cuda" if torch.cuda.is_available else "cpu")
29+
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
3030

3131

3232
def get_lr(optimizer):

0 commit comments

Comments
 (0)