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

Make ground truth for instance feature has bugs #42

Open
gneworld opened this issue Sep 29, 2020 · 3 comments
Open

Make ground truth for instance feature has bugs #42

gneworld opened this issue Sep 29, 2020 · 3 comments

Comments

@gneworld
Copy link

image

  1. code blocks are not aligned?
  2. "ground" is defined as np.zeros((len(target_lanes), 1, self.p.grid_yself.p.grid_x, self.p.grid_yself.p.grid_x)), so ground[batch_index][0][i] += gt_one will report IndexError
@koyeongmin
Copy link
Owner

  1. Some parts are never reached. The parts are not necessary. I forgot to remove them after some experiments.
  2. temp is reshaped by "temp = temp[temp>-1]" ((1, self.p.grid_y, self.p.grid_x) -> (self.p.grid_y*self.p.grid_x))
    (Sorry, this is not readable. reshape method is more suitable. )
    Also, other indexes are ok.

@gneworld
Copy link
Author

@koyeongmin
image

could you tell me this modification logic is right or not? thanks

@koyeongmin
Copy link
Owner

Yes, I think that there are no problems.

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