Skip to content

machine learning project 2023 spring

Notifications You must be signed in to change notification settings

Kokaine/ML_project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML_project

PKU machine learning project 2023 spring

Installation

follow installation guidance in segment-anything project.

  • python 3.7
  • pytorch 1.7.1
  • CUDA capable GPU (one is enough)

Preparation

download preprocessed CT data and fine-tuned model weights from this link

  • place model weights in ./pre_train/

  • place data for train and test in ./BTCV/

Task1

Zero-shot performance on test set

cd Task2

python main.py --promt_type box --test

You may also define:

  • --device_id id.
  • --seed random seed.
  • --center_point choose center point prompt or random choose point prompt
  • --ckpt_path path/to/your/sam_model_decoder_weights

you can also modify these options in Task2/config/cfg.yaml

Task2

Fine-tune on training set

Task3

About

machine learning project 2023 spring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.0%
  • Cuda 27.1%
  • Other 1.9%