amodalAPI icon indicating copy to clipboard operation
amodalAPI copied to clipboard

remove unnecessary import and fix a potentially bug-causing typo

Open yanfengliu opened this issue 6 years ago • 0 comments

Two changes:

  • Removed import torchfile
  • Fixed a potentially bug-causing typo. The line of code below is missing a ) before ==
type(region['segmentation']['counts'] == unicode or type(region['segmentation']['counts']) == str)

It is now:

type(region['segmentation']['counts']) == unicode or type(region['segmentation']['counts']) == str

yanfengliu avatar Nov 13 '18 19:11 yanfengliu