Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuLvs authored Aug 28, 2024
1 parent 25639a4 commit bbdd0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from Inference import train_one_epoch, evaluate

if __name__ == '__main__':
device = torch.device("cuda:4")
device = torch.device("cuda:0")
model = CustomDeepLabV3().to(device)
criterion = MaskedL1Loss()
optimizer = torch.optim.Adam([
Expand Down

0 comments on commit bbdd0a7

Please sign in to comment.