Questions tagged [darkflow]

Real-time object detection and classification. Paper: version 1, version 2.

Read more about YOLO (in darknet) and download weight files here. In case the weight file cannot be found, I uploaded some of mine here, which include yolo-full and yolo-tiny of v1.0, tiny-yolo-v1.1 of v1.1 and yolo, tiny-yolo-voc of v2.

76 questions
2
votes
0 answers

darkflow calls wrong version of python

When trying to use yolo for python I followed https://github.com/thtrieu/darkflow I got flow installed using pip3 install . but then, when running flow --h I get File…
JMath
  • 63
  • 1
  • 7
2
votes
0 answers

optimized tensorflow graph is slower than original on android

I have a tensorflow graph from darkflow on which I am running inference on an android device (on CPU Snapdragon 820). I found this graph transform tool to optimize the model for deployment. So I optimized my graph an expected to be faster than it…
bendaf
  • 2,981
  • 5
  • 27
  • 62
1
vote
0 answers

How to convert bounding box coordinates obtained by darkflow into real world coordinates?

i use realsense D435, and python 3.7, tensorflow 1.14, darkflow yolo v.2. Are the camera coordinates different from the current coordinates? How should the camera coordinates and the current coordinates match? I want to know the center value of…
박재성
  • 13
  • 3
1
vote
1 answer

How to see differences between 2 Tflite models

I have 2 Tensorflow Lite models (they are Yolo V2 Tiny models): Model A) Downloaded from the internet, detects and classifies objects with 80 classes. The .tflite files weights 44,9mb. Model B) Trained by myself using Darknet, detects and…
user2348684
  • 361
  • 4
  • 17
1
vote
0 answers

Darkflow directory doesn't show up in 'files' section in all the python notebooks in google colab

I installed Darkflow using the instructions in this link: https://www.datadiscuss.com/yolo-custom-model-part1/ On the left side of my GOOGLE COLAB notebook there are 3 dropdowns: table of content, codes snippets and files the darkflow directory…
1
vote
0 answers

How to convert .txt files to xml for yolo object detection

I am working on object detection with yolo (darkflow). I have a dataset and the labels for the dataset. But the problem is that, I require the annotations in XML format but I have it in .txt format. How do I convert txt to xml? This is a sample txt…
Sashaank
  • 880
  • 2
  • 20
  • 54
1
vote
1 answer

SGD optimiser graph

I just wanted to ask a quick question. I understand that val_loss and train_loss is insufficient to tell if the model is overfitting. However, i wish to use it as a rough gauge by monitoring if the val_loss is increasing. As i use SGD optimiser, i…
1
vote
2 answers

YOLOV2 slow when Arduino serial comm inserted

I have been working on object detection and tracking system for a while now. I have tried lighting up LEDs when a person is detected determining the coordinate of the bounding box based on the width of resolution range. As of now, the FPS was around…
user12159041
1
vote
1 answer

Is there any way to rename labels in Darkflow pretrained dataset?

I encountered a problem when running on a video. When it detects a street lamp, it shows a bird. Is there anyway to rename the label or remove the label? I have tried to edit the misc.py but it is not working. Below is the screenshot of the detected…
Sriram
  • 433
  • 4
  • 20
1
vote
3 answers

YOLO & Darknet - Training on a custom dataset to detect a specific class and ignore other classes

When training a custom dataset using YOLO and darknet, suppose available data is annotated with 3 classes, voc.names cat dog bird So, the .txt files will be in the format of 1 0.587 0.576 0.361 0.415 0 0.205 0.803 0.166 0.206 0 0.181 0.597 0.166…
R-R
  • 317
  • 1
  • 6
  • 18
1
vote
1 answer

How to convert tiny yolov2 model for tensorflow lite model?

I've trained a custom tiny yolov2 model and want to use this model in Xamarin Android app. I've converted yolov2 weights file to .pb using darkflow. The converted model don't work in Xamarin Android app and the error comes. This blog post says the…
vishgarg
  • 445
  • 1
  • 9
  • 24
1
vote
1 answer

Darkflow is installed and imported perfectly. But TFNet is not importing from darkflow.net.build

Darkflow library is installed succesfully but when it is imported it gives 'ImportError'. When 'darkflow' is imported it gives no error. But when 'TFNet' is imported from 'darkflow.net.build' then it gives 'ImportError: No module named…
1
vote
1 answer

Yolo Darkflow error. tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid name

I am getting this output when i run my code: %Run run_img.py /usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5 …
Knl_Kolhe
  • 191
  • 8
1
vote
1 answer

Darkflow accurate on demo but not on code

I trained my own model with darkflow yolov2 for just one class, and the results are pretty good when running this on the terminal with a threshold configuration of 0.55 python3 flow --model cfg/yolov2-tiny-voc-1c.cfg --load 5250 --demo…
1
vote
0 answers

How to capture unique object from webcam?

I have trained my model for single class, i want to capture(Count) the same object from webcam once, means if same object detecting in frame then it should capture as one until it leave the frame. In my case it captures the same object multiple…