darragh commited on
Commit
e7a07f6
·
1 Parent(s): 93d75c6

Update steps how to use

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -31,7 +31,20 @@ Note that this model is primarily aimed at being fine-tuned on tasks which segme
31
 
32
  # How to use
33
 
34
- To be filled....
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  # Limitations and bias
37
 
 
31
 
32
  # How to use
33
 
34
+ To install necessary dependencies, run the below in bash.
35
+ ```
36
+ git clone https://github.com/darraghdog/Project-MONAI-research-contributions pmrc
37
+ pip install -r pmrc/requirements.txt
38
+ cd pmrc/SwinUNETR/BTCV
39
+ ```
40
+
41
+ To load the model from the hub.
42
+ ```
43
+ >>> from swinunetr import SwinUnetrModelForInference
44
+ >>> model = SwinUnetrModelForInference.from_pretrained('darragh/swinunetr-btcv-tiny')
45
+ ```
46
+
47
+ You can also use `predict.py` to run inference for sample dicom medical images.
48
 
49
  # Limitations and bias
50