Giter VIP home page Giter VIP logo

vlm_fs-rsi-sc's Introduction

Setup

...Moreover, we proposed a pipeline that harnesses the capabilities of powerful large vision-language models (VLMs) as image encoders, establishing new baselines for FS-RSI-SC on commonly used datasets under standard experimental settings.

Please follow the official setup of CLIP here: https://github.com/openai/CLIP Please follow the official setup of BLIP here: https://github.com/salesforce/BLIP

Folder Structure

pytorch-template/
├── run_classifier_fromFeatures.sh - the main file to run classifier_fromFeatures.py
├── saveFeatures_subfolder_aid_nwpu_whu.py - extract features from images and save
├── classifier_fromFeatures.py
│
│
├── nwpu-resisc45/ - extracted features, class-wise split following the common setup
│   ├── train - train split of the common setup
│   ├── test - 
│   ├── val - 
│   
├── acc.txt - evaluation results

Data

To reproduce the results in Table 4, please download datasets. The train-val-test split is following a common one in litearature, and the training set is not actually used for training models.

First extract feautres using saveFeatures_subfolder_aid_nwpu_whu.py, and then set the path in run_classifier_fromFeatures.sh, and run: bash run_classifier_fromFeatures.sh and results will be saved in the folder "acc.txt".

Cite:

If you use this code for your research, please cite:

vlm_fs-rsi-sc's People

Stargazers

 avatar

Watchers

 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.