Skip to content

Commit

Permalink
typo in function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavkhoslaa committed Aug 24, 2019
1 parent 4a16968 commit 9b9bc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
else:
inputs, labels = data["Image"], data["Label"]
outputs = net(inputs).type(torch.cuda.DoubleTensor)
loss= Loss.dice_loss(pred= outputs, target= labels)
loss= Loss.dice_loss(input= outputs, target= labels)
loss.backward()
optimizer.step()
running_loss += loss.item()
Expand Down

0 comments on commit 9b9bc49

Please sign in to comment.