Giter Site home page Giter Site logo

Display label correctly about easy-yolo HOT 12 OPEN

hyunkyung12 avatar hyunkyung12 commented on June 6, 2024
Display label correctly

from easy-yolo.

Comments (12)

hyunkyung12 avatar hyunkyung12 commented on June 6, 2024

I did it ! thank you!

from easy-yolo.

deepkshikha avatar deepkshikha commented on June 6, 2024

#hyunkyung12 what have you done to display the label what file you changed??

from easy-yolo.

hyunkyung12 avatar hyunkyung12 commented on June 6, 2024

https://github.com/pjreddie/darknet/tree/master/data/labels
Copy the png files here and paste it into the path where the error occurred.
For example, if there is an error that there is no png file in the data folder, paste it into the data folder.

from easy-yolo.

deepkshikha avatar deepkshikha commented on June 6, 2024

You are running easy-yolo or other one. I am not understanding why should paste .png in data folder?

from easy-yolo.

hyunkyung12 avatar hyunkyung12 commented on June 6, 2024

easy yolo was created to reduce train time in yolo.
I think the creator of easy yolo forgot to copy the data / labels folder while creating a new repository based on yolo's file.
Also, if you look at the source code, you have to specify the location of the label data. Actually, there is no such directory in the easy-yolo repository.
So if you create a folder called data / labels directly, the label will be displayed normally.

from easy-yolo.

deepkshikha avatar deepkshikha commented on June 6, 2024

from easy-yolo.

hyunkyung12 avatar hyunkyung12 commented on June 6, 2024

in src / image.c,

image **load_alphabet()
{
    int i, j;
    const int nsize = 8;
    image **alphabets = calloc(nsize, sizeof(image));
    for(j = 0; j < nsize; ++j){
        alphabets[j] = calloc(128, sizeof(image));
        for(i = 32; i < 127; ++i){
            char buff[256];
            sprintf(buff, "data/labels/%d_%d.png", i, j);
            alphabets[j][i] = load_image_color(buff, 0, 0);
        }
    }
    return alphabets;
}

Here you can see the directory and format of the files you pasted!

from easy-yolo.

deepkshikha avatar deepkshikha commented on June 6, 2024

@hyunkyung12 Thanks it works for me.

from easy-yolo.

nidhinkk avatar nidhinkk commented on June 6, 2024

Got error while executing the make train command.

/home/username/Videos/easy-yolo-master/darknet detector train cfg/easy.data cfg/easy.cfg darknet19_448.conv.23
easy
No input parameters supplied: Success
darknet: ./src/utils.c:193: error: Assertion `0' failed.
Makefile:89: recipe for target 'train' failed
make: *** [train] Aborted (core dumped)

I am new in this training procedures.
I have some confusions in changing the easy.cfg and easy.data files. May they also leads to the error.
Can anybody help. Thank you

from easy-yolo.

hyunkyung12 avatar hyunkyung12 commented on June 6, 2024

How did you enter your command?
Since all the command options are specified in the Makefile,
Just type make train to start the train.
If you want to change the command option, you can modify the Makefile.

from easy-yolo.

nidhinkk avatar nidhinkk commented on June 6, 2024

While configuring the model what all things needed to be calculated . Currently I am training a single class with images of resolution 640*480. Do I need to change any commands specified in the configure model part.
Thanks for the quick reply

from easy-yolo.

deepkshikha avatar deepkshikha commented on June 6, 2024

@hyunkyung12 Is there some way to calculate FPR value which is = FP/(FP+TN) for single class classification. Or can we draw ROC curve for one class.

from easy-yolo.

Related Issues (13)

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.