GithubHelp home page GithubHelp logo

zhouchuanxu / plrdiff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xyrui/plrdiff

0.0 0.0 0.0 12.19 MB

Official codes of "Unsupervised Pansharpening via Low-rank Diffusion Model"

Python 98.40% MATLAB 1.60%

plrdiff's Introduction

PLRDiff

Official codes of "Unsupervised Pansharpening via Low-rank Diffusion Model"

paper (arxiv)

Load pretrained Model

Pretrained diffusion model can be downloaded from

https://github.com/wgcban/ddpm-cd#arrow_forwardpre-trained-models--trainvaltest-logs

Download Dataset

Chikusei: https://naotoyokoya.com/Download.html

Houston: https://hyperspectral.ee.uh.edu/?page id=459

Pavia: https://www.ehu.eus/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes

WV3: https://github.com/liangjiandeng/PanCollection#1--the-training-and-testing-datasets-for-worldview-3

Prepare test dataset

Use data/generate_data.m to generate test data.

Testing

Single HSI testing

run python3 test_single.py -gpu '(gpu)' -dr (dataroot) -dn (dataname) -rs (resume_state)

gpu: int

dataroot: str, e.g. /path/Chikusei.mat

dataname: str, e.g. Chikusei

resume_state: str, e.g. /path/I190000_E97

A list of HSIs testing

run python3 test_list.py -gpu '(gpu)' -dr (dataroot) -dn (dataname) -rs (resume_state)

Connections

[email protected]

<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js"></script> <script defer src="https://use.fontawesome.com/releases/v5.0.13/js/v4-shims.js"></script>

plrdiff's People

Contributors

xyrui 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.