- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A good man admits his mistakes - a great man corrects them! Thank you, sir!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wonderful Katsuya !
Thanks !
Shubha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is great Katsuya. I have being waiting for a solution to the problems. I will try it out with NSC2.
Thanks,
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Katsuya-san!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Katsuya,
Thanks again for solving the yolo3 precision issue.
I was able to see the precision improvements when running your example with my data.
I get an error when converting weight using the weight from the download.
The command is: python convert_weights.py --weights_file E:\t\yolo3\OpenVINO-YoloV3-master\weights\yolov3-tiny.weights --class_names coco.names --size 416 --data_format NHWC
Output:
lov3-tiny.weights --class_names coco.names --size 416 --data_format NHWC
detect_1.shape = (1, 507, 85)
detect_2.shape = (1, 2028, 85)
detect_3.shape = (1, 8112, 85)
Traceback (most recent call last):
File "convert_weights.py", line 52, in <module>
tf.app.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "convert_weights.py", line 40, in main
scope='detector'), FLAGS.weights_file)
File "E:\t\yolo3\OpenVINO-YoloV3-master\utils.py", line 122, in load_weights
(shape[3], shape[2], shape[0], shape[1]))
ValueError: cannot reshape array of size 391694 into shape (512,256,3,3)
Did I missed something simple ?
Should I follow the link https://github.com/jinyu121/DW2TF to convert yolo model to tensorflow ?
Thanks,
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also examining the problem now.
It takes a little time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for looking into it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lee, Terry wrote:Hello Katsuya,
Thanks again for solving the yolo3 precision issue.
I was able to see the precision improvements when running your example with my data.
I get an error when converting weight using the weight from the download.
The command is: python convert_weights.py --weights_file E:\t\yolo3\OpenVINO-YoloV3-master\weights\yolov3-tiny.weights --class_names coco.names --size 416 --data_format NHWC
Output:
lov3-tiny.weights --class_names coco.names --size 416 --data_format NHWC
detect_1.shape = (1, 507, 85)
detect_2.shape = (1, 2028, 85)
detect_3.shape = (1, 8112, 85)
Traceback (most recent call last):
File "convert_weights.py", line 52, in <module>
tf.app.run()
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "convert_weights.py", line 40, in main
scope='detector'), FLAGS.weights_file)
File "E:\t\yolo3\OpenVINO-YoloV3-master\utils.py", line 122, in load_weights
(shape[3], shape[2], shape[0], shape[1]))
ValueError: cannot reshape array of size 391694 into shape (512,256,3,3)
Did I missed something simple ?
Should I follow the link https://github.com/jinyu121/DW2TF to convert yolo model to tensorflow ?
Thanks,
Terry
Hi Terry,
Actually ,I have exact problem with yolo tiny version3 .I was wondering whether you have found a solution for it .If yes could you please share it with me .Thanks .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Terry,
I have the same problem with Yolo tiny v3 .
File "load_weights.py", line 44, in load_weights
(shape[3], shape[2], shape[0], shape[1]))
ValueError: cannot reshape array of size 391694 into shape (512,256,3,3)
I was wondering whether you found a solution and if yes could you please share it with me .
Thanks .
Grace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page