GithubHelp home page GithubHelp logo

why run yolov1/tiny-yolo.cfg, Detection Avg IOU: -nan, Pos Cat: -nan, All Cat: -nan, Pos Obj: -nan, Any Obj: 0.000000, count: 0 about darknet HOT 4 OPEN

issxjl2015 avatar issxjl2015 commented on August 24, 2024
why run yolov1/tiny-yolo.cfg, Detection Avg IOU: -nan, Pos Cat: -nan, All Cat: -nan, Pos Obj: -nan, Any Obj: 0.000000, count: 0

from darknet.

Comments (4)

WintonHuang avatar WintonHuang commented on August 24, 2024 1

maybe u have the wrong path that it cant get the image and "txt"

from darknet.

xzy295461445 avatar xzy295461445 commented on August 24, 2024

do u solve this problem? i have the same problem.

from darknet.

bohemian916 avatar bohemian916 commented on August 24, 2024

I had the same problem. So I checkout older commit before v2 and follow the old instruction https://pjreddie.com/darknet/yolov1/

git checkout c71bff69eaf1e458850ab78a32db8aa25fee17dc
wget http://pjreddie.com/media/files/darknet.conv.weights

and edit src/yolo.c for training with custom dataset

18     char *train_images = "/home/pjreddie/data/voc/test/train.txt";
19     char *backup_directory = "/home/pjreddie/backup/";

and train

./darknet yolo train cfg/tiny-yolo.train.cfg darknet.conv.weights

it works for me

from darknet.

Paul0M avatar Paul0M commented on August 24, 2024

@issxjl2015 Met with the same problem when training on my own dataset. Figured out the reasion: absolute value of bbox . Fix: using relative values, <x> = <absolute_x> / <image_width> or <height> = <absolute_height> / <image_height>.

from darknet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.