Open Anraza-Valtieri opened 6 years ago
Same problem here. Any ideas?
Ah, didn't see this issue. Yeah, I'm having the same problem. Anyone here have any updates? https://github.com/allanzelener/YAD2K/issues/83
It's strange that the full yolo v2 conversion works (if you remove the reorg layer). Isn't the Tiny Yolo just the same model with less layers?
Hi, seantempesta My yolo v2 conversion cannot work, either. How to remove the reorg layer?
weights_header = np.ndarray( shape=(4, ), dtype='int32', buffer=weights_file.read(16))
change to:
weights_header = np.ndarray( shape=(4, ), dtype='int32', buffer=weights_file.read(20))
@fengjihua seem problem. I change buffer=weights_file.read(16)) to buffer=weights_file.read(20)) not work
from yolo model convert to h5, Even you change "weights_file.read(16)) to buffer=weights_file.read(20))" You still can't detect objects. I strong suggest you https://github.com/hollance/YOLO-CoreML-MPSNNGraph/issues/7 richard-giantrobot Answer is Good!
I'm also having this issue. I suspected RGB and BGR channel ordering, but it seems to have little effect. My average recall on training is far greater than 0.5 (approaching 1) in most batches, and still, the converted version detects 0 boxes on the training set. Maybe it's time to try YOLOv3 with its own Python wrappers...
Keras Retinanet is also a great option if you don't need crazy speed (it's only 5-10 fps on a 1060) and want a nice, easy-to-use object detection package.
Sorry, but this project has kinda become inactive. @allanzelener disappeared :'(
Currently trying to convert a tiny-yolo custom dataset. Testing pre-conversion lead to positive detection but after converting results in no detection at all.
This is the CFG