Git Product home page Git Product logo

madonokouki / block-wise-scrambled-image-recognition Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 7.0 1.22 MB

Code for Adaptation Network introduced in "Block-wise Scrambled Image Recognition Using Adaptation Network" paper (AAAI WS 2020)

License: MIT License

Python 100.00%
encyrption cnn-classification scrambled-data shakedrop cifar10 cifar100 aaai2020 neu image-processing total-variation matrix-calculations cloud-computing

block-wise-scrambled-image-recognition's Introduction

Block-wise Scrambled Image Recognition Using Adaptation Network

This repository contains a Pytorch implementation of Proposed Adaptation Network in our AAAI WS 2020 paper:

Koki Madono, Masayuki Tanaka, Masaki Onishi, and Tetsuji Ogawa. Block-wise Scrambled Image Recognition Using Adaptation Network. In AAAI WS, 2020

Adaptation Network is described in Section "Adaptation Network for Block-WiseScrambled Image Recognition"

This network can be used for cloud based machine learning in visual information hiding setting.

Scrambling method is described in this figure.

Getting Started

We have tested our method on cifar10/100 Dataset (The dataset can be download via pytorch code)

Prerequisites

python
pytorch
numpy
scikit-image

Installing

  1. Clone this repository: git clone https://github.com/MADONOKOUKI/aaai_ws.git

  2. Install Pytorch.

  3. pip install -r src/requirements.txt

Training

python {args.1}_{args.2}_{args.3} --e=305 --tensorboard_name * --training_model_name *.t7 --json_file_name *.json

args.1 : default(no adaptation network) / tanaka / proposed

args.2 : dataset(cifar10 / cifar100)

args.3 : encryption method(LE,ELE,EtC) or no encryption(plain)

We use shakedrop classifier as the backbone network with adaptation network.

Results

see mypaper

Result highly change depend on hyper parameter on matrix and total variation norm.

Citation

If you find this code useful for your research, please consider citing our paper:

@Inproceedings{madono2020,
  Title           = {Block-wise Scrambled Image Recognition Using Adaptation Network},
  Author         = {Koki Madono, Masayuki Tanaka, Masaki Onishi, and Tetsuji Ogawa},
  Booktitle      = {AAAI WS},
  Year           = {2020}
}

Reference codes

License

MIT License. Please see the LICENSE file for details.

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.