Giter VIP home page Giter VIP logo

jittor-jieke-pass_rc's Introduction

| 第三届计图挑战赛(赛道二)

Jittor 大规模无监督语义分割赛题 PASS_RC

任务目标

ILSVRC2012_val_00010974 箭头 ILSVRC2012_val_00010974_mask

矫正前后对比图(第1、3列)

ILSVRC2012_val_00010974_mask

简介

本项目包含了第三届计图挑战赛计图 - 大规模无监督语义分割赛题的代码实现。本项目的特点是:采用了RC显著性检测方法对PASS生成的FG Mask进行矫正,生成了更加接近GT Mask的前景掩膜,最终分割效果比PASS提高了2.32%。

安装

本项目可在 2 张 3090 上训练,训练时间约为 40 小时。在 1 张3090上测试大约需要 1 小时。

运行环境

  • ubuntu 20.04 LTS
  • python >= 3.8
  • jittor >= 1.3.7.16

安装依赖

执行以下命令安装 python 依赖

pip install -r requirements.txt

训练

首先运行:

bash train_1.sh

然后根据输出的信息找到best_mIoU最高的checkpoint以及对应的阈值,将其填入train_2.sh的BEST_CHECKPOINT以及BEST_THRESH参数,再运行train_2.sh。

bash train_2.sh

推理

生成测试集上的结果可以运行以下命令:

bash test.sh

致谢

此项目基于论文Large-scale Unsupervised Semantic Segmentation 实现,部分代码参考了 SaliencyRC

jittor-jieke-pass_rc's People

Contributors

luoh226 avatar

Watchers

 avatar

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.