I want to adapt the code from objectDetector_Yolo to be able to use YOLO9000 .
I know it is based on YOLOv2 the only difference being the last layer.
YOLOv2 does a softmax where YOLO9000 does a tree like softmax (WordTree).
What do I have to modify in objectDetector_Yolo in order to be able to use YOLO9000?
Thank you in advance for your help and guidance.
Children from each node are packed together in the tree structure  and
thus we can precompute the number of children in each pack .
Is it possible to replace the SoftMax layer from YOLOv2 by a RaggedSoftMax layer instead?
It seems to be the layer that best fit YOLO9000 requirements.