-
Notifications
You must be signed in to change notification settings - Fork 73
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
tiny yolo v3 conversion #30
Comments
@chrisrapson Thanks for reporting this. Indeed, this is an indexing issue. The stack (in DW2TF) stores layers starting with I've identified a simple fix, but need to verify it doesn't break other use-cases. Will push shortly. Let me know if you see any other issues. Thanks again! |
I've fixed this by excluding This fixes yolov3 and yolov3-tiny conversions, but has no impact on yolov2 (used relative indexing) or yolov2-tiny (no route layers). For those using DW2TF to convert yolov3 or yolov3-tiny, please use the latest release DW2TF-1.2. @chrisrapson Closing this, please test and feel free to re-open if you see issues. |
When I use your tool to convert my cfg and weight files to tensorflow models, there seems to be an error. Here is the resulting graph from tensorboard, and I think that the connection down the right hand side should connect to a convolutional block, not a maxpool block. Specifically, convolutional5.
![tensorboard_graph](https://user-images.githubusercontent.com/4982550/62103184-c1cee380-b2ef-11e9-8466-9ca4d6bac1bb.png)
AlexeyAB's explanation of route layers shows yolov2 has a similar connection to a convolutional block.
Also when I tried converting with this similar repo it connects to a convolutional block.
I'm not 100% sure I've understood route blocks correctly, but it could be that you count the input
net1
as a block? If so, then you should increment the index (in this case from 8 to 9). Of course that only applies where the route has a positive number.The text was updated successfully, but these errors were encountered: