Giter Club home page Giter Club logo

rp-net's Introduction

License CC BY-NC-SA 4.0 Python 2.7 Python 3.7

Recurrent Mask Refinement for Few-Shot Medical Image Segmentation

Steps

  1. Install any missing packages using pip or conda

  2. Preprocess each dataset using utils/preprocess

  3. Run notebooks/prepare_data_for_few_shot_learning.ipynb to generate files containing the range of each organ

Train

Test

Configure the yaml. An example is at yamls/example.yml. Change ckpt to trained model checkpoint python test.py test --yaml $PATH_TO_YAML

rp-net's People

Contributors

tanghaotommy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rp-net's Issues

train.py

Hi, thank you so much for your contribution.
Could you please also release train.py?

ABD-110 dataset

I can't find link to download ABD-110 dataset. So where can I download it?

Please help me

code problem

corr = corr.view(batch, ht, wd, 1, ht, wd)
corr = corr / torch.sqrt(torch.tensor(dim).float())
corr = corr.view(-1, 1, ht, wd)

Thank you very much for your work , but I did not understand this part of the code.Can you tell me ? Thank you.

Traing code problems

Thank you so much for your contribution.
Could you please also release train.py?
Sincerely thanks!

Ask for codes

Dear autor:
Last week, I read your paper published on 2021 ICCV, called “Recurrent Mask Refinement for Few-Shot Medical Image Segmentation”. This paper is quite interesting, and I want to conduct some research based on your work. I am trying to run the code published on your GitHub and have some difficulties as follows:

  1. I followed the instructions of readme file, the file

“prepare_data_for_few_shot_learning.ipynb” can’t be found in the published code.

  1. I attempted to run test_rpnet.py, a bug came out as : the folder "/ home / haotang / workspace / data / abdomen" cannot be found.

  2. there is no train.py in the published code.

Could you please share the abovementioned files with me?

Thank you for taking the time to read my question, and I’m looking forward to your reply.

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.