Closed casper-hansen closed 3 years ago
Never mind, your repository is so good that I could modify the CSP version to work with my config and weights! Even though I have never touched C++. Thank you for this awesome repo!
@casperbh96 have you removed the group feature on purpose?
[route]
layers=-1
groups=2
group_id=1
I can not find a way to convert the weights for tiny or tiny-3l because of those parameters. They seem to split the feature map in half. You simply removed it and retrained the network, correct? Or did you start without this group feature in the first place?
Ah you replaced them with [route_lhalf], I get it. Thanks.
@casperbh96 have you removed the group feature on purpose?
[route] layers=-1 groups=2 group_id=1
I can not find a way to convert the weights for tiny or tiny-3l because of those parameters. They seem to split the feature map in half. You simply removed it and retrained the network, correct? Or did you start without this group feature in the first place?
This was because I used the original Scaled YOLOv4 implementation in PyTorch where the author used route_lhalf. I might replace them at some point and completely covert to Darknet.
Actually you can't, conversion fails with an error because the python darknet implementation doesn't know about the groupid field. But it seems the implementations are compatible.
@tjuskyzhang hi,
Can you guide with making your repository work with the official tiny 3 yolo layer version?
Here is my config: