NanoDet-Plus⚡Super fast and lightweight anchor-free object detection model. 🔥Only 980 KB(int8) / 1.8MB (fp16) and run 97FPS on cellphone🔥
5.71k
stars
1.04k
forks
source link
How to apply MobileViTV2 using Timm? #537
Closed
nijatmursali closed 10 months ago
I'm trying to apply MobileViTV2 mentoned in this document using Timm. I found this model and modified the
config
file, and when training starts all is good with it, bu I getI found the issue where in /nanodet/model/head/nanodet_plus_head.py
where
center_priors
hastorch.Size([32, 1045, 4])
andreg_preds
hastorch.Size([32, 4165, 32])
and
distribution_project
is just a Integralself.distribution_project = Integral(self.reg_max)
How can I solve this issue?
My config file looks like: