Giter VIP home page Giter VIP logo

ms-da-mil-cnn-1's Introduction

Multi-scale Domain-adversarial Multiple Instance Learning CNN (CVPR2020)

Overview

PyTorch implementation of the paper

  • Noriaki H. and Daisuke F. et al., Multi-scale Domain-adversarial Multiple-instance CNN for Cancer Subtype Classification with Unannotated Histopathological Images, CVPR2020 Proceeding [link]

Requirments

I confirmed that the source code was running with the following environment.

  • Python3.6
  • pytorch 1.4.0
  • CUDA 10.0
  • NVIDIA Quadro RTX 5000
  • and python library in requirements.txt

How to use

There is no image data here. Therefore, you need to edit the model/dataset.py to fit your data.

Here, I'll explain the case of using two magnifications. ('scale1' and 'scale2')

single scale learning

First, run single scale learning(DA-MIL) for each magnification.

$ python single_scale_learning.py scale=scale1
$ python single_scale_learning.py scale=scale2

After run, parameter-files DAMIL_params_scale1.pth and DAMIL_params_scale2.pth are generated in tmp_storage/.

multi scale learning

After each single scale learning, run multi scale learning (MS-DA-MIL).

$ python multi_scale_learning.py

ms-da-mil-cnn-1's People

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.