Giter Site home page Giter Site logo

qwepi / ssl Goto Github PK

View Code? Open in Web Editor NEW
14.0 0.0 1.0 343 MB

This repo contains the source code and pretrained model for the paper "Semi-Supervised Hotspot Detection with Self-Paced Multi-Task Learning", which is published in 24th Asia and South Pacific Design Automation Conference.

Python 98.77% Shell 1.23%

ssl's Introduction

SSL

Source code and pretrained model for 24th Asia and South Pacific Design Automation Conference paper:

Semi-Supervised Hotspot Detection with Self-Paced Multi-Task Learning.

Ying Chen, Yibo Lin, Tianyang Gai, Yajuan Su, Yayi Wei, and David Z. Pan

Dataset

Feature Tensor Extraction Data is already within this repo, original images can be found at http://appsrv.cse.cuhk.edu.hk/~hyyang/files/iccad-official.tgz

Dependencies

numpy, tensorflow (tested on 1.5), pandas, json, ConfigParser, progress

Test on Released Models

e.g. to test iccad2 with 10% labeled samples (random seed = 50) on the released model, you need to modify iccad2_config.ini

set model_path=./models/iccad2/unlossfix_SSL_m10000_p0.1s50/model-p0.1-s50-step9999.ckpt

set train_ratio=0.1

set seed=50

set b=2 and

python test_SSL.py iccad2_config.ini

Train

e.g. to train iccad2 with 10% labeled samples (random seed =50), you need to modify iccad2_config.ini

set save_path=./models/iccad2/ssl/

set train_ratio=0.1

set seed=50

set b=2 and

python train_SSL.py iccad2_config.ini

Test

e.g. to test iccad2, you need to modify iccad2_config.ini

set model_path=./models/iccad2/ssl/model.ckpt(note: This model path should be where you save your model when training)

set train_ratio=0.1

set seed=50

set b=2 and

python test_SSL.py iccad2_config.ini

Batch Process

e.g. to train and test iccad2 with 10%, 30%, 50% labeled samples and different random seeds(50,100,150), you need to modify run.sh as folows:

for b in 2: do

for train_p in 0.1 0.3 0.5; do

for seed in 50 100 150; do

and

source run.sh

then when all the runnings are done, go to folder "log_SSL" to check the testing results.

ROC Curves

To compare results of our approach and Yang's DAC'17 work, we adjust the decision boundary of each model to plot the ROC curves. The ROC curves of each benchmark with different ratios of selected labeled samples are as follows (both average and standard deviation values are drawn for different runs).

"SSL" denotes our approach, "DAC" denotes Yang's work.

"TPR" denotes true positive rate, "FPR" denotes false positive rate.

The vertical line refers to the same FPR values reported by the DAC work.

Acknowledgement

The code is based on Haoyu Yang's source code, thanks for his sharing.

ssl's People

Contributors

qwepi avatar

Stargazers

x avatar  avatar vvvggg avatar Shuyuan Sun avatar AlyssaZyt avatar qutong avatar Sukanta Dey avatar YananLiu avatar hardmstar avatar Shuhan Zhang avatar kevingo avatar Wenhao Zhao avatar  avatar Yibo Lin avatar

Forkers

linjiegeorge

ssl's Issues

training

Hello author, may I ask why during the training process, the accuracy is always 1, and the loss increases from 0

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.