Giter Site home page Giter Site logo

Comments (25)

Sierkinhane avatar Sierkinhane commented on June 5, 2024

Hi, I will try to release the code for COCO in this month!
Btw, welcome to star our project!

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

Hi, I will try to release the code for COCO in this month! Btw, welcome to star our project!

I've stared it. Would you please release some code for COCO?

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

Hello, I will try to upload the code in these two days!

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

Sorry for the late update! Cause I'm busy in preparing an exam these days!

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

@yangxinhaosmu Hi, the code for training on COCO2014 has been uploaded! Feel free to ask any questions.

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

@yangxinhaosmu Hi, the code for training on COCO2014 has been uploaded! Feel free to ask any questions.

Thanks!I have another question, I've found that the generated pseudo labels are all black. Is this situation resonable?

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

Hi, I remember that the .png file stores the class index (0-20). So, the image looks dark.

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

Hi, I remember that the .png file stores the class index (0-21). So, the image looks dark.

So, when I train deeplab, I should use the .png file directory as annotations directory. Is that right?

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

Exactly.

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

Exactly.

Sorry to bother you, it maybe a simple question about deeplab results. When I train deeplab with train_aug.txt and test it with val.txt, how can I get the val results of segmentation? As we all know, there are val results and test results. Thx

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

Hi, please follow the README of deeplab-pytorch.

python main.py test
--config-path configs/voc12.yaml
--model-path data/models/voc12/deeplabv2_resnet101_msc/train_aug/checkpoint_final.pth

The above script means to apply the trained deeplab on the CONFIG.DATASET.SPLIT.VAL(val set). If you want to generate predictions on test set, please change the code to CONFIG.DATASET.SPLIT.TEST in main.py.

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

The results will be saved in score/, please check that!

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

Hi, please follow the README of deeplab-pytorch.

python main.py test --config-path configs/voc12.yaml --model-path data/models/voc12/deeplabv2_resnet101_msc/train_aug/checkpoint_final.pth

The above script means to apply the trained deeplab on the CONFIG.DATASET.SPLIT.VAL(val set). If you want to generate predictions on test set, please change the code to CONFIG.DATASET.SPLIT.TEST in main.py.

你好,但我发现JPEGImages文件夹里没有test.txt里对应的图像,JPEGImages里面是17125张图像对吧?

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

您用的test.txt也是
/JPEGImages/2008_000006.jpg
/JPEGImages/2008_000011.jpg
/JPEGImages/2008_000012.jpg
开头的吗

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

你可能需要去下载一下test set, 然后放到JPEGImages下

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

可以在PASCAL VOC官网上下载

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

你可能需要去下载一下test set, 然后放到JPEGImages下

我把voc的test set下载好,放到JPEGImages下了。但是在加载label_path的时候SegmentationClass里面没有对应的label,test set的label也可以在官网上下载吗?test的话应该是用voc而不是vocaug吧?

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

是要用deeplab那个库的demo.py来得到test的预测结果,然后上传到voc官网获得test的miou是吗?

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

Hi, test set是没有公开gt mask的,你需要保存你的预测结果 上传到Pascal voc的evaluation server中。你可以参照main.py中的test()函数来inference,简单改动一下就行。后面我会上传一下我的代码,不过你可以自己先尝试修改下。

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

Hi, test set是没有公开gt mask的,你需要保存你的预测结果 上传到Pascal voc的evaluation server中。你可以参照main.py中的test()函数来inference,简单改动一下就行。后面我会上传一下我的代码,不过你可以自己先尝试修改下。

谢谢同学,你的代码能救我的命!!

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

: -) 我尽快哈

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

@yangxinhaosmu Hi, I have uploaded the code for training deeplabv2. Please check that and feel free to ask any questions. :-)

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

@yangxinhaosmu Hi, I have uploaded the code for training deeplabv2. Please check that and feel free to ask any questions. :-)

Your help is very much appreciated!!Thanks for your help!!!!

from clims.

yangxinhaosmu avatar yangxinhaosmu commented on June 5, 2024

您好,请问在生成伪标签的阶段用cam_eval_thres是将CAM最小值设为0.15,然后再argmax吗?以及后面的0和255的判断还有些不懂,求指教Orz

from clims.

Sierkinhane avatar Sierkinhane commented on June 5, 2024

你好,在eval_cam或者make_sem_label时,0.15是作为0通道背景的激活值,然后再沿着类别通道argmax获得语义分割标签。0是背景类,255是官方标签中一些去掉的区域(例如一些歧义的区域,无需计算loss)。

from clims.

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.