benjamintanweihao / yolov3 Goto Github PK
View Code? Open in Web Editor NEWYOLOv3 Implementation in TensorFlow 1.1X
YOLOv3 Implementation in TensorFlow 1.1X
The link https://pjreddie.com/media/files/yolov3.weights provided a file called yolov3.weights not yolov3-tiny.weights . I feel either this setup should work with yolov3.weights or the read me part needs to be edited to have yolov3-tiny.weights downloaded.
https://pjreddie.com/media/files/yolov3-tiny.weights
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\NAME\yoloproj\YOLOv3\cfg\yolov3-tiny.weights'
Hi, Is it possible to get class scores for all classes ? For example we have a dog object. The model predicts that the object is dog, with score 0.9. Is it possible to get scores for other classes, for example: cat - 0.1 ?
I checked many examples but have not found how to get class scores for all classes ?
Thank you very much.
I specified the input shape in single_image.py :
inputs = Input(shape=(416, 416, 3))
This gave me following error:
File "single_image.py", line 11, in
outputs, config = darknet_base(inputs, include_yolo_head=False)
File "/vol1/dbstore/orc_srib/n.hri/Hand_Localization/Experiments/005_yolov3_tflite_pc/YOLOv3/darknet.py", line 67, in darknet_base
x, layers, yolo_layers, ptr = _build_route_layer(x, block, layers, yolo_layers, ptr)
File "/vol1/dbstore/orc_srib/n.hri/Hand_Localization/Experiments/005_yolov3_tflite_pc/YOLOv3/darknet.py", line 224, in _build_route_layer
x = Concatenate(axis=3)(selected_layers)
File "/vol0/tool/ml/cuda9/.venv/py2/tensorflow-1.10.0/lib/python2.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 728, in call
self.build(input_shapes)
File "/vol0/tool/ml/cuda9/.venv/py2/tensorflow-1.10.0/lib/python2.7/site-packages/tensorflow/python/keras/utils/tf_utils.py", line 148, in wrapper
output_shape = fn(instance, input_shape)
File "/vol0/tool/ml/cuda9/.venv/py2/tensorflow-1.10.0/lib/python2.7/site-packages/tensorflow/python/keras/layers/merge.py", line 392, in build
'Got inputs shapes: %s' % (input_shape))
ValueError: A Concatenate
layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(None, None, None, 128), (None, 26, 26, 256)]
I can't think of a reason as to why it is able to get shape of one layer only in route layer and not the other.
Model provided has model identifier 'TE: ', should be 'TFL3'.
Previous errors were :
No module named 'tensorflow.contrib.lite'
ImportError: cannot import name 'interpreter'
ValueError: Could not open '/content/gdrive/My Drive/BEMRR/YOLOv3/model/yolov3.tflite'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.