Coder Social home page Coder Social logo

Missing category label about grocerydataset HOT 14 OPEN

gulvarol avatar gulvarol commented on July 17, 2024
Missing category label

from grocerydataset.

Comments (14)

gulvarol avatar gulvarol commented on July 17, 2024

I am sorry I don't understand your question. The annotation file (https://github.com/gulvarol/grocerydataset#annotationtxt) has the 'brand' id which corresponds to the category. You can convert the information in any format you like.

from grocerydataset.

CelineZhou03 avatar CelineZhou03 commented on July 17, 2024

Thank you for your reply.
Each <b_i> in this annotation.txt has a value of zero. I want to turn it into a trademark name for each product. in other words,I want to convert annotation.txt annotation information into the format of the .xml file in the annotation inside the VOC2007 dataset. Because I want to use faster r-cnn to train your data set.

from grocerydataset.

gulvarol avatar gulvarol commented on July 17, 2024

Zero is the 'other' class. Not all of the class annotations are zero.

from grocerydataset.

jha-prateek avatar jha-prateek commented on July 17, 2024

Hi, there's a lot of mis-classification in annotation file.

For example look at line 164 in Annotations.txt
File name: C2_P04_N3_S4_1
Cat Ids: ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '4', '4', '4', '4', '4', '4', '4', '10', '10', '10']

First shelf of planogram contains all Marlboro(cat id: 1) but in annotations.txt contains all 0.
C2_P04_N3_S4_1

from grocerydataset.

gulvarol avatar gulvarol commented on July 17, 2024

There could be bounding boxes that are not annotated as one of the brand categories:

So among the annotated ones, there should be no wrong labels (they are all manually verified). Among the remaining ones (0: "other" class), there could be missing labels because not every bounding box is exhaustively annotated.

from grocerydataset.

jha-prateek avatar jha-prateek commented on July 17, 2024

So, how to figure out which of the images are properly annotated?
Because, I see lot of them are not.

from grocerydataset.

gulvarol avatar gulvarol commented on July 17, 2024

As I said, the bounding boxes that are annotated as non-zero are manually verified. The 'other' category has some noise, but is largely correct. You can easily annotate more yourself either manually or semi-automatically, as the number of categories are very small.

from grocerydataset.

jha-prateek avatar jha-prateek commented on July 17, 2024

Ok, Thanks.

from grocerydataset.

sayakpaul avatar sayakpaul commented on July 17, 2024

How is the csv file structured? Am I right to assume it has the following structure?

image

@gulvarol

from grocerydataset.

sayakpaul avatar sayakpaul commented on July 17, 2024

I guess this should be the case -

image

Could you confirm? @gulvarol

from grocerydataset.

gulvarol avatar gulvarol commented on July 17, 2024

I have not created the csv file, it was commited by @revantt

from grocerydataset.

revantt avatar revantt commented on July 17, 2024

I guess this should be the case -

image

Could you confirm? @gulvarol

Hi @sayakpaul the headers for this file is [Image_id,x_min,y_min,x_max,y_max,label]

from grocerydataset.

sayakpaul avatar sayakpaul commented on July 17, 2024

Yeah got it. Maybe updating the csv to include the headers would help reduce this.

from grocerydataset.

sainivedh19pt avatar sainivedh19pt commented on July 17, 2024

The labelling of classes in annotations.csv in totally wrong. Surprised by how none has raised it yet

from grocerydataset.

Related Issues (5)

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.