Skip to content

Commit c3d502b

Browse files
authored
Update birdview.py
1 parent 9ade26b commit c3d502b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surround_view/birdview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def get_weights_and_masks(self, images):
303303
G2, M2 = utils.get_weight_mask_matrix(BIII(back), LIII(left))
304304
G3, M3 = utils.get_weight_mask_matrix(BIV(back), RIV(right))
305305
self.weights = [np.stack((G, G, G), axis=2) for G in (G0, G1, G2, G3)]
306-
self.masks = [(M / 255.0).astype(np.int) for M in (M0, M1, M2, M3)]
306+
self.masks = [(M / 255.0).astype(int) for M in (M0, M1, M2, M3)]
307307
return np.stack((G0, G1, G2, G3), axis=2), np.stack((M0, M1, M2, M3), axis=2)
308308

309309
def make_white_balance(self):

0 commit comments

Comments
 (0)