Closed Henrilin28 closed 7 years ago
Hi Henry,
The weight file can be downloaded from here https://drive.google.com/file/d/0B1tW_VtY7onibmdQWE1zVERxcjQ/view?usp=sharing
Let me know if you have problems.
HI @xslittlegrass,
It works but the same model have different result! I cant detect any car!
btw
add the following code can show the model layers
from IPython.display import SVG
from keras.utils.visualize_util import model_to_dot
SVG(model_to_dot(model).create(prog='dot', format='svg'))
Are you using the same test images in the test_images folder? Can you post your results?
Yes, I am using the same images you provided.
Please find my result in attachment
-- Chuan-Heng (Henry) Lin Tel: +886 938-507-930 Email: imhenry@me.com ; Website: www.henrilin28.com
在 2017年2月24日 於 上午10:36:22, xslittlegrass (notifications@github.com) 寫下:
Are you using the same test images in the test_images folder? Can you post your results?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
You attached the files in your email and I cannot see your them, could you attach them on this issue page on Github?
Here it is!
It works fine on my system. I'm using tensorflow 0.12.0-rc0 on python 3.5.2. Could you update Keras to the newest version?
you use tensorflow for backend?
I use python 2.7!
Yes. Maybe the backend is the reason. The weights in these two backends are different, you need to convert them. There is a script in this wiki page on Keras that can help you to do that.
but you set the backend to "th", which means theano?
The backend and the image dimension ordering are two different settings. I set set_image_dim_ordering
to "th". That's only for the image dimension ordering. For instance, whether the image is organized as [3,448,448]
("theano" ordering) or [448,448,3]
("tensorflow" ordering). But I'm still using tensorflow as the backend. See here. I did this way because the pretrained weight file in yolo is organized this way.
Hi, I tried to reproduce you result but I found the yolo-tiny weight is not working.. Can you show me where you get the weights?
Best, Henry