-
Notifications
You must be signed in to change notification settings - Fork 1
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
AssertionError for img_norm_cfg #4
Comments
Hello, I met the same problem this afternoon. I used the config mt_detr_c+l+r+t.py and the length was 12, so I think it was a product of 3 feature channels of four pictures from 4 modalities and your intuition was right. I don't know how to solve it, too. I'm trying to solve this problem by compressing the number of extra channels back to 3, but I'm not sure whether it will get good effect. I'll appreciate if you could share your experience after you get the solution. Thanks! |
Hi, I kinda avoided this error and got my inference running. As this error is about channels = tensor.size(1)
assert (channels == len(mean) == len(std))
# assert len(mean) == 3 #commented
# assert len(std) == 3 #commented It is just a temporary workaround for me, not a solution. |
Hi, I tried your method and it worked! Thank you for your help and wishing you all the best in your future work! |
Hello,
Getting an error while running an inference
python tools/test.py configs/mt_detr/mt_detr_c+l+r.py checkpoint/model/mt_detr_c+l+r.pth
.It seems like it is defined for 3 modalities, so it has 3 values. For
Camera Only
, it works fine.I tried with the same values as
Camera Only
but encountered the below error. So later in the code, it expects in the above order only. So, there is no meaning to changing it.Any help would be appreciated.
Thanks,
K
The text was updated successfully, but these errors were encountered: