File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ We provide the pretrained model parameters of PaddlePaddle format, including [vi
44
44
├── SegmentAnything
45
45
│ ├── examples
46
46
│ │ └── cityscapes_demo.png
47
- │ ├── modeling
48
- │ └── script
47
+ │ ├── segment_anything
48
+ │ └── scripts
49
49
50
50
```
51
51
@@ -54,7 +54,7 @@ In this step, we start a gradio service with the following scrip on local machin
54
54
55
55
1. Run the following script:
56
56
` ` ` bash
57
- python script /amg_paddle.py --model-type [vit_l/vit_b/vit_h] # default is vit_h
57
+ python scripts /amg_paddle.py --model-type [vit_l/vit_b/vit_h] # default is vit_h
58
58
59
59
` ` `
60
60
Note:
@@ -76,17 +76,17 @@ You can run the following commands to produce masks from different types of prom
76
76
1. Box prompt
77
77
78
78
` ` ` bash
79
- python script /promt_predict.py --input_path xxx.png --box_prompt 1050 370 1500 700 --model-type [vit_l/vit_b/vit_h] # default is vit_h
79
+ python scripts /promt_predict.py --input_path xxx.png --box_prompt 1050 370 1500 700 --model-type [vit_l/vit_b/vit_h] # default is vit_h
80
80
` ` `
81
81
82
82
2. Point prompt
83
83
` ` ` bash
84
- python script /promt_predict.py --input_path xxx.png --point_prompt 1200 450 --model-type [vit_l/vit_b/vit_h] # default is vit_h
84
+ python scripts /promt_predict.py --input_path xxx.png --point_prompt 1200 450 --model-type [vit_l/vit_b/vit_h] # default is vit_h
85
85
` ` `
86
86
87
87
3. Mask prompt
88
88
` ` ` bash
89
- python script /promt_predict.py --input_path xxx.png --mask_prompt xxx.png --model-type [vit_l/vit_b/vit_h] # default is vit_h
89
+ python scripts /promt_predict.py --input_path xxx.png --mask_prompt xxx.png --model-type [vit_l/vit_b/vit_h] # default is vit_h
90
90
` ` `
91
91
92
92
Note:
You can’t perform that action at this time.
0 commit comments