Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some question about junction map #14

Open
iifeve opened this issue Jul 1, 2022 · 1 comment
Open

some question about junction map #14

iifeve opened this issue Jul 1, 2022 · 1 comment

Comments

@iifeve
Copy link

iifeve commented Jul 1, 2022

Hi there! Thanks for your excellent work, but I notice that the dimension of junction map is (h, w, 1), but the others are (c, h ,w), and in phase of loading label, it didn't change the dimension. I wonder should it be this way or there is something I missed?

 def gen_junction_and_line_mask(norm_lines, h = 256, w = 256):
          junction_map = np.zeros((h, w, 1), dtype=np.float32)
          line_map = np.zeros((h, w, 1), dtype=np.float32)
def load_label(self, ann, do_aug):
     label[14, :, :] = junction_map[0]
        label[15, :, :] = line_map[0]
@ngdyes
Copy link

ngdyes commented Apr 13, 2023

Yeah,I found it wrong too.That makes line and junction segment effectless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants