Skip to content

Commit

Permalink
mask -> mask_person
Browse files Browse the repository at this point in the history
  • Loading branch information
agermanidis committed Jul 18, 2019
1 parent 6abf221 commit bc67e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runway_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def segment(model, inputs):
return seg_map.astype(np.uint8)


@runway.command('mask', inputs={'image': runway.image}, outputs={'masked_image': runway.image})
@runway.command('mask_person', inputs={'image': runway.image}, outputs={'masked_image': runway.image})
def mask(model, inputs):
_, seg_map = model.run(inputs['image'])
mask = np.stack((seg_map,)*4, axis=-1)
Expand All @@ -52,4 +52,4 @@ def mask(model, inputs):


if __name__ == '__main__':
runway.run(port=5232)
runway.run(port=5232)

0 comments on commit bc67e80

Please sign in to comment.