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
5
votes
3 answers

Is image resizing needed to training a new Yolo model?

I would like to train a new model using my own dataset. I will be using Darkflow/Tensorflow for it. Regarding my doubts: (1) Should we resize our training images for a specific size? (2) I think smaller images might save time, but can smaller…
Kleyson Rios
  • 2,597
  • 5
  • 40
  • 65
4
votes
2 answers

darkflow - AttributeError: 'NoneType' object has no attribute 'find'

new to darkflow and python. i am trying to train my own datasets by using https://github.com/thtrieu/darkflow and yolo weights. I'm currently having errors: AttributeError: 'NoneType' object has no attribute 'find' when executing…
TAN
  • 41
  • 3
4
votes
1 answer

Converting checkpoints generated to .weights darkflow

I have done customized training using Darkflow and yolov2.weights. There are four files in checkpoint folder.These are: 1.yolov2-3c-5500.data-00000-of-00001 2.yolov2-3c-5500.index 3.yolov2-3c-5500.meta 4.yolov2-3c-5500.profile I want to convert…
mujahir
  • 187
  • 4
  • 11
4
votes
2 answers

How to use tensorflow eager execution only in specific parts of the application?

I've got few files with different files: main.py watch.py read.py detect.py <-- Uses tensorflow based library darkflow that relies on the graph mode translate.py <-- uses tf eager execution During darkflow's TFNet initialization I get this…
Yustx
  • 326
  • 1
  • 4
  • 12
4
votes
1 answer

How to convert .pb files (protobuf files) to .weight files to use?

I've trained a net using Darkflow and now have the .pb files. I was wondering if it's possible (and if it is, how can it be done) to convert the files to .weight files for Darknet? I'd like to use Darknet with these files to classify images on…
Paula
  • 87
  • 1
  • 9
3
votes
1 answer

ImportError: No module named 'Cython' when installing Cython on mac for darkflow

I'm trying to install darkflow on my mac and I've already downloaded cython extensions. I'm trying to use this command on terminal: python3 setup.py build_ext --inplace Traceback (most recent call last): File "setup.py", line 3, in
Kartman19
  • 31
  • 1
  • 2
2
votes
1 answer

Darknet Yolov3 - Custom training on pre-trained model

Actually in darknet yolov3 model has coco.names file for labels which include 80 classes. Now if I want to train a custom model with two labels only, where one label is already there in coco.names and another is not there. For example I want to…
2
votes
1 answer

how to save video in YOLO

I am trying to save the video after detection in yolo, it saves the video but don't show detected items. Code is here import cv2 from darkflow.net.build import TFNet import numpy as np import time import os from PyQt5 import QtCore, QtWidgets,…
fahad
  • 21
  • 5
2
votes
1 answer

How to get score for all classes when using YOLO v3?

How do I get scores for all classes? For example, there is a dog object, with score 0.9. However I also want the cat score for the same object (0.1). How do I get them?
Dang Manh Truong
  • 795
  • 2
  • 10
  • 35
2
votes
3 answers

AssertionError: expect 202335260 bytes, found 203934260 Soccer Ball Detection using YOLOv2 (Darkflow)

https://github.com/deep-diver/Soccer-Ball-Detection-YOLOv2 I get loading yolo.weights .... and then AssertionError: expect 202335260 bytes, found 203934260 However, when I run the same command with default dataset it works. I downloaded the…
2
votes
2 answers

Tensorflow to ONNX conversion

I'm currently trying to convert a saved (and working) .pb file that I created with this tutorial (https://github.com/thtrieu/darkflow) into a onnx file. I'm using winML tools at the moment but the result of the conversion doesn't work at all (the…
walterPeyton
  • 21
  • 1
  • 1
  • 3
2
votes
2 answers

Python's self.parse - why do we use it?

Why and when do we use self.parse()? I've seen this in few functions when I was going through the code of tensorflow's- darkflow source where I found this: https://github.com/thtrieu/darkflow/blob/master/darkflow/net/yolo/data.py
Sujith Royal
  • 762
  • 10
  • 9
2
votes
1 answer

YOLO darknet vs darkflow

Can anyone please help me to distinguish between darknet and darkflow. Advantages of one over the other. My understanding about YOLO (You Only Look Once) is an algorithm for fast object detection.
Jozf
  • 161
  • 2
  • 4
  • 9
2
votes
2 answers

Google Cloud Platform unable to run long running process when connectivity drops

I am doing custom object detection training using darkflow on Google Cloud Platform Compute Engine VM with GPU but the long-running process dies whenever I lose connectivity or my laptop goes to sleep. I have tried running it via SSH from my Windows…
2
votes
0 answers

Darkflow frozen pb - tensorflowsharp output

I am having some problem with my object detection project. I have a working solution that uses tensorflowsharp nuget. I am trying to get faster detection and I wanted to experiment with YOLO model. I am using darkflow for having YOLO working with…
1
2 3 4 5 6