jiwoon-ahn / irn

Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relations, CVPR 2019 (Oral)
MIT License
519 stars 100 forks source link

about the search indices #38

Open roywithfiringblade opened 3 years ago

roywithfiringblade commented 3 years ago

` for x in range(1, max_radius): search_dirs.append((0, x))

    for y in range(1, max_radius): 
        for x in range(-max_radius + 1, max_radius):
            if x * x + y * y < max_radius ** 2:
                search_dirs.append((y, x))`

Thanks for sharing the work. I think the search_dirs seems to be a half circle instead of a circle. Not sure whether i understand it correctly. Look forward to your reply.

anArkitek commented 3 years ago

@704051419 Hi I have the same question. Have you figured out why only half circle is considered?