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
0
votes
1 answer

Darkflow: why am I getting lossy/incomplete output images ( I trained with my own data )

I have trained darkflow yolo with my own data, the description of dataset: dataset size: 3 images classes:1 classname: coca-cola edited the yolo.cfg file to be yolo_custom.cfg: classes = 1 filters = 30 command to train: python3 flow…
0
votes
1 answer

Write the coordinates of detected bounding boxes in a video to a txt or csv file

so i am using darkflow to detect objects(hats) in a video. It detects people wearing the hats and draws bounding boxes around the hat in a video. Now I want to save the top right and bottom left coordinates of the detected bounding boxes into a txt…
Shameendra
  • 163
  • 2
  • 3
  • 15
0
votes
1 answer

Darkflow says images have 0 sizes

I'm trying to train tiny yolo using darkflow. However when I run the code I receive this error: Enter training ... cfg/tiny-yolo-voc-2c.cfg parsing images/annotation Parsing for ['thumbs_down', 'thumbs_up'] [====================>]100% …
0
votes
1 answer

saved .pb file(created using darkflow) not loading in java

I used the following command to create a .pb file: flow --model ../YOLOv2/alexeyAB_darknet/darknet-master/cfg/yolov2-dppedestrian.cfg --load ../YOLOv2/alexeyAB_darknet/darknet-master/backup/yolov2-dppedestrian_33900.weights --savepb Although the…
0
votes
1 answer

while running YOLO for test custom object cfg file path error the path is correct but even though its showing this error

This code is for running my trained weights the folder ckpt contains 1050 step train data and this file is in outside of cfg folder in darkflow main folder. import cv2 from darkflow.net.build import TFNet import numpy as np import time options = { …
Amar Desai
  • 77
  • 3
  • 13
0
votes
1 answer

TensorFlow placeholder decoupling for external python code

still learning Tensorflow and I'm trying to change a loss function in some code in Darkflow The network outputs a given tensor with shape [49,3,2]. I would like to take the two elements in the last part of the tensor and process them with some…
0
votes
0 answers

How can I make TensorFlow use my GPU?

I am currently attempting to run an object detector called YOLO (darkflow). I have installed CUDA 8.0, CudNN 5.1, tensorflow 1.0 and tensorflow-gpu (both installed via pip). I'm testing YOLO by using the following command line: sudo python3 ./flow…
0
votes
1 answer

darkflow error when detecting on raspberry pi zero: undefined symbol: _ZN6google8protobuf8internal26fixed_address_empty_stringE

currently I'm trying to run darkflow on RPi zero with it's camera installed. detection using darkflow is a little bit slow but working quite well on pi 3. (took several hour to compile opencv3 though) So I thought it's similar on pi zero, but it…
JP Kim
  • 743
  • 8
  • 26
0
votes
2 answers

How to change checkpoint interval in Yolo 2 (darflow) python?

I'm Training Yolo2 (darkflow) and want to change the interval (e.g. every 100 steps) to make checkpoints. Train command: python flow --model cfg/yolo.cfg --load bin/yolo.weights --train --annotation train/XML --dataset train/Images Something like…
HKC72
  • 502
  • 1
  • 8
  • 22
0
votes
1 answer

Cannot use darknet / Yolo2 after installation (Python)

I want to use darkflow / Yolo2 according to the instructions from github After successful installation I'm not able to do anything. The flow command does not work and I cant load weights. I am receiving the following warning: der befehl "flow" ist…
HKC72
  • 502
  • 1
  • 8
  • 22
-1
votes
1 answer

powerful IDE to reduce time in training datasets in yolo/darkflow

I'm a beginner in Machine Learning. I've been learning about YOLO and DarkFlow from the following links with Ubuntu 20.04: darkflow and Tiny YOLO. I successfully executed the code, and got the results like this: Statistics: car: 436 person:…
D Yi
  • 3
  • 3
-1
votes
1 answer

ModuleNotFoundError: No module named 'darkflow.cython_utils'

I am using the darkflow for image processing. I have installed the darkflow locally using --inplace command with the setup.py file. I am getting ModuleNotFound error for cython_utils. File "darkflow/cython_utils/cy_yolo_findboxes.pyx", line 1, in…
-1
votes
1 answer

Getting error python setup.py build_ext --inplace VC C++ 14.0 required

While executing the setup.py for TensorFlow code to run darknet, I run into error regarding Microsoft Visual C++ edition. Command: C:\Users\usename\Desktop\Dark\darkflow>python setup.py build_ext --inplace Output: running build_ext building…
Amar Desai
  • 77
  • 3
  • 13
-1
votes
1 answer

Porting Darkflow tensorflow model into Tensorflow Android Camera Detection Demo

I have a custom built YOLO model in the form of cfg and weights. I converted this model into a .pb and .meta file using darkflow (https://github.com/thtrieu/darkflow) as sudo ./flow --model cfg/license.cfg --load bin/yololp1_420000.weights --savepb…
Santle Camilus
  • 945
  • 2
  • 12
  • 20
-2
votes
2 answers

How can I use the screen as a video input to darkflow

I've trained darkflow on my data set and have good result! I can feed it a pre recorded image or video and it draws the bounding boxes around the right things, win! Now I'd like to run it live as has been done with camera feeds, except I'd like my…
user6916458
  • 400
  • 2
  • 7
  • 19