Git Product home page Git Product logo

meta_lsm's Introduction

meta_LSM (Migrated from tf1 to tf2)

Hong Kong Landslide Susceptibility Mapping in a Meta-learning Way.

##Table of Contents

Background

to be continued...

​ Fig. 1: Overflow

Dependencies

This code is implemented with the anaconda environment:

  • cudatoolkit 11.2.2
  • cudnn 8.1.0.77
  • gdal 3.2.3
  • numpy 1.23.3
  • pandas 1.5.0
  • python 3.9.13
  • scikit-learn 1.1.2
  • tensorflow 2.10.0
  • tqdm 4.64.1

Data

The source and experiment data will be opened...

Usage

  • For the unsupervised pretraining stage, see ./Unsupervised Pretraining/DAS_pretraining.py and pretrain the base model. The parameter would be saved in ./DAS_logs/savedmodel.npz.
  • For the scene segmentation and task sampling stage, see ./scene_sampling.py, the result would be output into ./seg_output folder.
  • For the the meta learner, see ./meta_learner.py.
  • For the model adaption and landslide susceptibility prediction, see ./predict_LSM.py. The intermediate model and adapted models of blocks would be saved in folder ./checkpoint_dir and ./models_of_blocks, respectively.The adapted models will predict the susceptibility for each sample vector in ./src_data/grid_samples_HK.xlsx.
  • The ./tmp folder restores some temp records.
  • For the figuring in the experiment, see ./figure.py, the figures would be save in folder ./figs.

Contact

To ask questions or report issues, please open an issue on the issues tracker.

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.