Git Product home page Git Product logo

Comments (12)

zqwang21 avatar zqwang21 commented on September 12, 2024

After debugging the maskcut.py, it is found that the value of counts are garbled. Why does it happen? How to solve it ?
image

from cutler.

zqwang21 avatar zqwang21 commented on September 12, 2024

image

from cutler.

frank-xwang avatar frank-xwang commented on September 12, 2024

Hi, the mask annotation is in COCO's Run Length Encoding (RLE) format. You can refer to the discussion here to learn how to convert RLE to the human-readable polygon format.

from cutler.

frank-xwang avatar frank-xwang commented on September 12, 2024

By the way, it is recommended to stick with the RLE format for mask annotation unless you have a specific reason to use the polygon format, as the former is more efficient in terms of storage and computation.

from cutler.

frank-xwang avatar frank-xwang commented on September 12, 2024

Closing it now. Please feel free to reopen it if you have further questions!

from cutler.

zqwang21 avatar zqwang21 commented on September 12, 2024

from cutler.

zqwang21 avatar zqwang21 commented on September 12, 2024

from cutler.

frank-xwang avatar frank-xwang commented on September 12, 2024

Hi, could you please resend your questions? There are many &nbsp symbols, it is hard to read your message. Thanks!

from cutler.

zqwang21 avatar zqwang21 commented on September 12, 2024

Sorry,i rephrase my questions.
i have deleted segmentation, height, and width code in annotation_info which are garbled, in order to generate annotations for voc, because the jsonfile of voc download from github also does not include this part of code.
image

However , after generating the jsonfile and running the command
( python train_net.py --num-gpus 3
--config-file model_zoo/configs/CutLER-ImageNet/cascade_mask_rcnn_R_50_FPN.yaml
--test-dataset cls_agnostic_voc --no-segm
--eval-only MODEL.WEIGHTS "/home/yli/CutLER-main/cutler_cascade_final.pth"), AP50 is 64.58 which is much higher than the value in modelzoo which you offered. Therefore, i compared those two jsonfiles, I found that bbox information in my jsonfile is different from yours. i do not know why there are these differences, do you have any idea?
image

The yellow boxes are my jsonfile visualized results, the red boxes are yours. why are our jsonfiles inconsistent?
image

By the way , my steps are followings:

  1. downlowad VOC2007 JPEGImages

  2. run the command :python maskcut.py --vit-arch base --patch-size 8

  3. specify the jsonfile in cutler/data/datasets/builtin.py

  4. run the command:

    python train_net.py --num-gpus 3
    --config-file model_zoo/configs/CutLER-ImageNet/cascade_mask_rcnn_R_50_FPN.yaml
    --test-dataset cls_agnostic_voc --no-segm
    --eval-only MODEL.WEIGHTS "/home/yli/CutLER-main/cutler_cascade_final.pth")

from cutler.

zqwang21 avatar zqwang21 commented on September 12, 2024

i also evaluated the model's performance on VOC using the jsonfile download from your github, the result is the same as what you submitted in modelzoo. i feel that my steps are correct, but why my jsonfile generated by maskcut is different from yours?

from cutler.

zqwang21 avatar zqwang21 commented on September 12, 2024

voc_annotations.zip
This is my jsonfile annotations generated according to the steps described above, do you have any idea why it is different from yours? And how can my result be consistent with yours?

from cutler.

frank-xwang avatar frank-xwang commented on September 12, 2024

Answered in #29.

from cutler.

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.