Coder Social home page Coder Social logo

Code for model prediction about csra HOT 10 CLOSED

sure7018 avatar sure7018 commented on August 20, 2024
Code for model prediction

from csra.

Comments (10)

sure7018 avatar sure7018 commented on August 20, 2024 1

Thank you. I have run through the code. I hope it can be helpful to the follow-up work, and I look forward to your excellent work in the future.

from csra.

Kevinz-code avatar Kevinz-code commented on August 20, 2024 1

@abhigoku10

"Wider-Attribute dataset your not doing Detection + attribute classification but only attribute classification because the crop of the person is done offline . right ??"
yes

This is a common fashion in multi-label benchmark.

from csra.

Kevinz-code avatar Kevinz-code commented on August 20, 2024

Hi,
Thanks for reading.

We provide validation code of various pretrained models on VOC and COCO, which could print out the mAP of each model (in ''val.py''). Do you mean ''prediction'' by saying that the pretrained models could output a label set of each test image? Say,
image1: dog, person, cat.
image2: person, bicycle.

If it was that case, you could use 0.5 as threshold to discriminate the positive and negative labels by (see line 45 in val.py):
result = nn.Sigmoid()(logit)
result[result >= 0.5] = 1
result[result < 0.5] = 0

Best,
Ke Zhu

from csra.

2717117077 avatar 2717117077 commented on August 20, 2024

Thank you for your reply。
By the way, it is estimated when the code of Vit and the code trained in the wide attribute dataset will be released, because my work is similar to that of the wide attribute dataset。
Thank you!

from csra.

Kevinz-code avatar Kevinz-code commented on August 20, 2024

@2717117077
Hi, actually I am a little busy these days.

Hopefully we are about to release them in the middle or late of September.

from csra.

sure7018 avatar sure7018 commented on August 20, 2024

Thank you and hope to see your excellent work as soon as possible!

from csra.

Kevinz-code avatar Kevinz-code commented on August 20, 2024

Hi,
code concerned with wider attribute has been released @2717117077
and the prediction model demo has also been added @sure7018

Best

from csra.

abhigoku10 avatar abhigoku10 commented on August 20, 2024

@Kevinz-code thanks for sharing the code base one query is for the WIDER attribute dataset will the output be person and its attributes or only person ??

from csra.

Kevinz-code avatar Kevinz-code commented on August 20, 2024

Hi, @abhigoku10

For Wider-Attribute dataset, every input image to the network is a person cropped from the original dataset. So the output will be the attributes (14 categories of attributes) of the certain person.

Best,

from csra.

abhigoku10 avatar abhigoku10 commented on August 20, 2024

@Kevinz-code thanks for the response so just to clarify for Wider-Attribute dataset your not doing Detection + attribute classification but only attribute classification because the crop of the person is done offline . right ?? because you mentioned in the readme
utils/demo_images/000001.jpg prediction: dog,person,
utils/demo_images/000004.jpg prediction: car,
utils/demo_images/000002.jpg prediction: train,
...

from csra.

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.