Skip to content

Commit 2cc064e

Browse files
committed
bug fix
1 parent f649c64 commit 2cc064e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PSACUDA/functions/PSANetFunc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def backward(ctx,mask_grad):
2929

3030
bottom1_grad = torch.zeros(b1_grad_n,b1_grad_c,b1_grad_h,b1_grad_w).cuda()
3131

32-
PSAWapper.PSA_backward(1,bottom1_grad, mask_grad.data);
32+
PSAWapper.PSA_backward(1,bottom1_grad, mask_grad.data)
3333

3434
return Variable(bottom1_grad)
3535

@@ -58,6 +58,6 @@ def backward(ctx,mask_grad):
5858

5959
bottom1_grad = torch.zeros(b1_grad_n,b1_grad_c,b1_grad_h,b1_grad_w).cuda()
6060

61-
PSAWapper.PSA_backward(2,bottom1_grad, mask_grad.data);
61+
PSAWapper.PSA_backward(2,bottom1_grad, mask_grad.data)
6262

6363
return Variable(bottom1_grad)

0 commit comments

Comments
 (0)