Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/coxlab/prednet
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-lotter committed Apr 13, 2017
2 parents 68136c3 + 664f5f8 commit 305812f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process_kitti.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def process_data():
def process_im(im, desired_sz):
target_ds = float(desired_sz[0])/im.shape[0]
im = imresize(im, (desired_sz[0], int(np.round(target_ds * im.shape[1]))))
d = (im.shape[1] - desired_sz[1]) / 2
d = int((im.shape[1] - desired_sz[1]) / 2)
im = im[:, d:d+desired_sz[1]]
return im

Expand Down

0 comments on commit 305812f

Please sign in to comment.