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

Need some help about understanding the code #203

Closed
Oliverwang11 opened this issue Mar 7, 2024 · 4 comments
Closed

Need some help about understanding the code #203

Oliverwang11 opened this issue Mar 7, 2024 · 4 comments

Comments

@Oliverwang11
Copy link

Oliverwang11 commented Mar 7, 2024

Hi,

Thanks again for your contribution!

After reading the paper, I took a look at the code, especially for the GPT class, but I found something I am a little bit confused about.

  1. In the paper, it says that the input image is down-sampled to 5x22xC and LiDAR to 8x8xC. If I understand correctly, for inference batch size, in your comments B, should be one? And why the input size of the image is Bx4xseq_len, C, H, W in your comments, where does the number 4 come from? Maybe I misunderstood something.

def forward(self, image_tensor, lidar_tensor, velocity): """ Args: image_tensor (tensor): B*4*seq_len, C, H, W lidar_tensor (tensor): B*seq_len, C, H, W velocity (tensor): ego-velocity """

Best wishes!
Thanks again!

@Kait0
Copy link
Collaborator

Kait0 commented Mar 8, 2024

I think it's just a typo.

@Oliverwang11
Copy link
Author

Thanks for your reply, so the batch size, B, during inference is one right?

@Kait0
Copy link
Collaborator

Kait0 commented Mar 8, 2024

yes

@Oliverwang11
Copy link
Author

Thanks a lot!

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