Skip to content

Commit 8e93a48

Browse files
committed
yapf
1 parent 884972d commit 8e93a48

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tensorlayer/prepro.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,6 +2353,7 @@ def _flip(im, coords):
23532353
else:
23542354
return _flip(im, coords)
23552355

2356+
23562357
obj_box_left_right_flip = obj_box_horizontal_flip
23572358

23582359
# im = np.zeros([80, 100]) # as an image with shape width=100, height=80

tensorlayer/visualize.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,10 @@ def draw_mpii_pose_to_image(image, poses, save_name='image.png'):
339339
save_image(image, save_name)
340340
return image
341341

342+
342343
draw_mpii_people_to_image = draw_mpii_pose_to_image
343344

345+
344346
def frame(I=None, second=5, saveable=True, name='frame', cmap=None, fig_idx=12836):
345347
"""Display a frame(image). Make sure OpenAI Gym render() is disable before using it.
346348

0 commit comments

Comments
 (0)