@@ -309,6 +309,21 @@ Please use `PicoDet-LCNet` model, which has fewer `transpose` operators.
...
@@ -309,6 +309,21 @@ Please use `PicoDet-LCNet` model, which has fewer `transpose` operators.
</details>
</details>
<details>
<summary>How to count model parameters.</summary>
You can insert below code at [here](https://github.com/PaddlePaddle/PaddleDetection/blob/develop/ppdet/engine/trainer.py#L141) to count learnable parameters.
```python
params=sum([
p.numel()forn,pinself.model.named_parameters()
ifall([xnotinnforxin['_mean','_variance']])
])# exclude BatchNorm running status
print('params: ',params)
```
</details>
## Cite PP-PicoDet
## Cite PP-PicoDet
If you use PicoDet in your research, please cite our work by using the following BibTeX entry:
If you use PicoDet in your research, please cite our work by using the following BibTeX entry: