Giter VIP home page Giter VIP logo

btcnet's Introduction

BTC-Net: Efficient Bit-level Tensor Data Compression Network for Hyperspectral Image

Introduction

A new bit-level hyperspectral tensor data compression method that combines a data-driven quantized neural encoder and channel-wise attention-based enhancement super-resolution.

Requirements

  • Ununtu 18.0
  • python 3.7
  • Pytorch 1.4

Training and Testing

Creat HSI folder and put HSI dataset in, and add corresponding path in the .txt file in the testpath and trainpath
Run the train.py for training and testing.py for testing

Semantic Test

In the file Classification

Datasets contains the cropped classification datasets Indian Pines (128×128×172) and Salinas (512×128×172), and their corresponding reconstructed data

checkpointIP and checkpointSalinas contain 10 weight files of the model trained on the dataset IP and Salinas, respectively.

logIP and logSalinas contain 5 txt files respectively, recording the results of 10 classification experiments

IP_ori.txt and S_ori.txt record the accuracies of 10 model weights on the classification dataset and corresponding values of random seeds (select the training samples randomly)

Make sure you have set the training or testing mode, then

python Demo_IP.py

or

python Demo_S.py

to implement the training or testing on the classification datasets

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.