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

How can I use the code to detect multi objects? #32

Open
kanta0504 opened this issue Sep 22, 2022 · 1 comment
Open

How can I use the code to detect multi objects? #32

kanta0504 opened this issue Sep 22, 2022 · 1 comment

Comments

@kanta0504
Copy link

Hi,

Thank you for your code, I am thankful for your time and efforts.

I am trying your code to detect multi objects.
I create a custom dataset and change "num_objects" to multi number.
But, I get the error at line 81 in loss.py because of the difference in the shapes of "regression" and "regression_map".

Could you please confirm the code to detect the multi objects?

Thank you for your time and effort, I really appreciate it!

Regards,

@varunagrawal
Copy link
Owner

I am not certain what you are doing here. It seems like your dataloader is not computing the ground truth regression tensor correctly which is what is causing the issue. Or maybe it is, and the model definition needs to be updated. Without access to either your code or dataset, it is pretty much impossible for me to debug this issue.

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