baidu-research / NCRF

Cancer metastasis detection with neural conditional random field (NCRF)
Apache License 2.0
757 stars 184 forks source link

generating binary mask from json annontations #10

Closed udion closed 6 years ago

udion commented 6 years ago

Hi,

kindly check gen_mask_from_anno.py which requires a json file for annotation and generates a black and while binary mask

yil8 commented 6 years ago

@udion can you make your code PEP8 compatible? e.g. using flake8 to check the style of the two new python files. Also, can you put the two python files under NCRF/wsi/bin ?