Skip to content

Commit

Permalink
Fix and add test for retinanet postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
msschwartz21 committed Sep 5, 2019
1 parent 327dcb5 commit e765672
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion redis_consumer/processing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,14 @@ def test_watershed():


def test_retinanet():
im = _sample1(10, 10, 40, 40)
out = _retinanet_data(im)[:-1]

label = processing.retinanet_to_label_image(out, 40, 40)


def test_retinanet_semantic():
im = _sample1(10, 10, 40, 40)
out = _retinanet_data(im)

label = processing.retinanet_to_label_image(out)
label = processing.retinanet_semantic_to_label_image(out)

0 comments on commit e765672

Please sign in to comment.