Giter VIP home page Giter VIP logo

st_loss's Introduction

Selective Transferring Loss

Introduction

  • currently avaliable for pedestratin detection(binary class), 2 domains.

  • Using Faster RCNN as baseline

  • Implement with Pytorch 0.2.0.

Install and Setup

Follow faster-rcnn.pytorch

Finetuning

#Transfer learning:
__C.TRANSFER = True             #if this is False, it woule be baseline, Faster RCNN
__C.TRANSFER_SELECT = 'ALL'     #select "ALL", "POSITIVE", "BALANCE" or "RANDOM"
__C.TRANSFER_WEIGHT = 0.5       #alpha
__C.TRANSFER_GAMMA = 16         #gamma
__C.TRANSFER_LOSS_START = 6     #transfer loss start epoch
__C.TRANSFER_GRL = False        #use Grandient Reversal or not

Data Preparation

Put your target data into Pascal Foramtted folder with folder name VOC2007 and link with data/VOCdevkit2007, put your source data into VOC2012 and link data/VOCdevkit2012 and follow the VOC_0712 training from py-faster-rcnn

To change other data format (e.g. Kitti) to Pascal_VOC format, please refer to Kitti2Pascal tutorial

Result

Data: ECCV Workshop WIDER FACE AND PEDESTRIAN CHALLENGE 2018 Challenge 2 . Use Surveillance data set as source and Driven data set as target.

Result Surveillance Driven
Baseline (FRCN) 71.8 62.1
FRCN Joint Train 71.9 63.8
ST Loss 71.5 66.6

st_loss's People

Contributors

chriszhenghaochen avatar

Watchers

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