Ding Yiwei 1148e2ea63
Add TransformerLayer, TransformerBlock, C3TR modules (#2333)
* yolotr

* transformer block

* Remove bias in Transformer

* Remove C3T

* Remove a deprecated class

* put the 2nd LayerNorm into the 2nd residual block

* move example model to models/hub, rename to -transformer

* Add module comments and TODOs

* Remove LN in Transformer

* Add comments for Transformer

* Solve the problem of MA with DDP

* cleanup

* cleanup find_unused_parameters

* PEP8 reformat

Co-authored-by: DingYiwei <846414640@qq.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2021-04-01 17:26:53 +02:00
..
2021-01-04 19:54:09 -08:00
2021-01-04 19:54:09 -08:00
2021-01-04 19:54:09 -08:00
2021-01-04 19:54:09 -08:00
2021-02-01 13:51:11 -08:00
2021-02-01 13:51:11 -08:00
2021-02-01 13:51:11 -08:00
2021-02-01 13:51:11 -08:00