Code Monkey home page Code Monkey logo

hfst's Introduction

Prepare Datasets

Brain datasets

https://pan.baidu.com/s/1oR3frIYVy4IP-66UUA-Plg?pwd=myz2 Extraction code:myz2

IXI datasets

https://pan.baidu.com/s/1OZKmPq_nK5F_kW90HbGOeg?pwd=eltv Extraction code:eltv

Train and Test

Install the environment from requirements firstly.

pip install -r requirements.txt

Train

Before training or testing, make sure the data has been downloaded and placed in the correct path

Large Model

# x4 factor
python3 main_train_spsr.py --opt options/train/x4/train_ixit_spsr_release_s4_d96_w5_n3.json

Test

python3 main_test_spsr.py --opt options/test/x4/test_ixit_spsr_release_s4_d96_w5_n3.json

Download the weights from the Baidu link and place them in the specified location in the json file

If you encounter problems in training and testing, please refer to KAIR to solve them.

5. Acknowledgement

This repo borrows codes from KAIR and the psnr module is borrowed from MHCA

hfst's People

Contributors

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