Giter Club home page Giter Club logo

fanet's Introduction

Table of Contents

Introduction

This repository provides the code for the paper "FakeMix Augmentation Improves Transparent Object Detection".

Requirements

  • python3
  • PyTorch=1.1.0
  • torchvision
  • Pillow
  • numpy
  • pyyaml

Installation

Please make sure that there is at least one gpu when compiling. Then run:

  • python3 setup.py develop

Pretrained Models and Logs

The pretrained models and logs can be fould here:

Data Preparation

  1. create dirs './datasets/Trans10K'
  2. download the data from Trans10K.
  3. put the train/validation/test data under './datasets/Trans10K'. The data Structure is shown below:
Trans10K/
├── test
│   ├── easy
│   └── hard
├── train
│   ├── images
│   └── masks
└── validation
    ├── easy
    └── hard

Demo

CUDA_VISIBLE_DEVICES=0 python3 -u ./tools/test_demo.py --config-file configs/trans10K/trans10K.yaml DEMO_DIR ./demo/imgs

Training

bash tools/dist_train.sh configs/trans10K/trans10K.yaml 8

Evaluation

CUDA_VISIBLE_DEVICES=0 python3 -u ./tools/test_translab.py --config-file configs/trans10K/trans10K.yaml 

Citations

Please cite our paper if the project helps.

@article{cao2021fakemix,
  title={FakeMix Augmentation Improves Transparent Object Detection},
    author={Cao, Yang and Zhang, Zhengqiang and Xie, Enze and Hou, Qibin and Zhao, Kai and Luo, Xiangui and Tuo, Jian},
      journal={arXiv preprint arXiv:2103.13279},
        year={2021}
        }

@misc{fanet,
    author = {Cao, Yang and Zhang, Zhengqiang},
    title = {fanet},
    howpublished = {\url{https://github.com/yangcao1996/fanet}},
    year ={2021}
}
        

License

For academic use, this project is licensed under the Apache 2.0 License

For commercial use, please contact the authors.

Acknowledgements

Our codes are mainly based on TransLab. Thanks to their wonderful works.

Contact

Any discussion is welcome. Please contact the authors:

Yang Cao: [email protected]

Zhengqiang Zhang: [email protected]

fanet's People

Contributors

yangcaoai avatar xtudbxk avatar

Stargazers

 avatar  avatar coordxyz avatar Ling Tong avatar  avatar

Watchers

James Cloos avatar  avatar  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.