Giter VIP home page Giter VIP logo

mask_uncertainty_spectral_sci's Introduction

Modeling Mask Uncertainty in Hyperspectral Image Reconstruction

This repository contains the testing code and pre-trained models for the paper Modeling mask uncertainty in hyperspectral image reconstruction.

Requirements

  • Python 3.7.10
  • Pytorch 1.9.1
  • Numpy 1.21.2
  • Scipy 1.7.1

Test

Ten simulation testing HSI (256x256x28) are provided. Testing trials can be determined by specify trial_num

To test a pre-trained model under miscalibration many-to-many, specify mode as many_to_many, last_train as 661.

To test a pre-trained model under miscalibration one-to-many, specify mode as one_to_many, last_train as 662.

To test a pre-trained model under traditional setting one-to-one, specify mode as one_to_one, last_train as 662.

Run

python test.py

Structure of directories

directory description
Data Ten simulation testing HSIs and two real masks for testing (256x256 and 660x660)
test testing script
utils utility functions
tools model components
ssim_torch function for computing SSIM
many_to_many model structure and model checkpoint for miscalibration (many-to-many)
one_to_many model structure and model checkpoint for miscalibration (one-to-many)
one_to_one model structure and model checkpoint for traditional setting (one-to-one)

mask_uncertainty_spectral_sci's People

Contributors

jiamian-wang 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.