GithubHelp home page GithubHelp logo

gui1402 / noisyboundaries Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhenyuw16/noisyboundaries

0.0 0.0 0.0 5.99 MB

Fork para teste nas imagens Cygno

License: Apache License 2.0

Shell 0.09% Python 99.84% Dockerfile 0.07%

noisyboundaries's Introduction

Noisy Boundaries: Lemon or Lemonade for semi-supervised instance segmentation?

This is the mmdetection implementation of our CVPR 2022 paper. ArXiv.

Installation

This code is based on mmdetection v2.18. Please install the code according to the mmdetection step first.

data preparation

noisyboundaries
├──data
|  ├──cityscapes
|  |  ├──annotations
|  |  |  ├──instancesonly_filtered_gtFine_train.json
|  |  |  ├──instancesonly_filtered_gtFine_val.json
|  |  ├──leftImg8bit
|  |  |  ├──train
|  |  |  ├──val
|  ├──coco
|  |  ├──annotations
|  |  |  ├──instances_train2017.json
|  |  |  ├──instances_val2017.json
|  |  ├──images
|  |  |  ├──train2017
|  |  |  ├──val2017

Running scripts

cityscapes

We take the experiment with the 20% labeled images for example.

make the label file first:

mkdir labels
python scripts/cityscapes/prepare_cityscape_data.py --percent 20 --seed 1

Then, to train the supervised model, run:

bash tools/dist_train.sh configs/noisyboundaries/cityscapes/mask_rcnn_r50_fpn_1x_cityscapes_sup.py 8

With the supervised model, generating pseudo labels for semi-supervised learning:

bash scripts/cityscapes/extract_pl.sh 8 labels/rcity.pkl labels/cityscapes_1@20_pl.json 

Then, perform semi-supervised learning:

bash tools/dist_train.sh configs/noisyboundaries/cityscapes/mask_rcnn_r50_fpn_1x_cityscapes_pl.py 8

noisyboundaries's People

Contributors

zhenyuw16 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.