Giter VIP home page Giter VIP logo

tkds-ptnet's Introduction

TKDS-PtNet

TKDS-PtNet is a tool designed for monitoring damaged buildings. This repository includes a model comparison accuracy curve plotted by make_figure.ipynb. Additionally, it contains records of different model outputs and ground truth file paths.

S7
Fig.1 The comparison between the commonly used urban change detection scheme and TKDS. The detector can be PtNet, ResNet, or any other detection methods. a. Generation of the image patch samples. b. The commonly used destruction detection methods. c. The proposed TKDS scheme.

Usage

To train and validate the model, you can run main.py. Configuration of training data sets, models, loaders, and various hyperparameters can be defined by modifying config/config_dict.py.

Contents

  • make_figure.ipynb: Jupyter notebook for plotting accuracy curves comparing different models.
  • main.py: Script for training and validation.
  • config/config_dict.py: Configuration file for defining datasets, models, loaders, and hyperparameters.
  • checkpoint/: Directory containing log files from experiments mentioned in the paper.
  • data/sample: Sample data used for training and validation.
  • data/fixed-effects: Data and executable files for validating accuracy using fixed-effects models.

Logging Details

The checkpoint/ directory contains log files from experiments conducted with different configurations. These log files include detailed information about each experiment's config_dict, facilitating easy replication and comparison of results.

S7
Fig.2 The TKDS-PtNet architecture.

S7
Fig.3 The semi-supervised domain adaptation strategy for building damage detection, incorporating supervised contrastive learning and Maximum Mean Discrepancy.

How to Use

  1. Clone this repository to your local machine.
  2. Install the necessary dependencies.
  3. Run main.py to train and validate the model.
  4. Modify config/config_dict.py to customize the training process according to your requirements.
  5. Refer to make_figure.ipynb for visualizing and comparing the accuracy curves of different models.

Citation

If you find TKDS-PtNet useful in your research, please consider citing:

tkds-ptnet's People

Contributors

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