youngzhou12 commited on
Commit
c678118
·
verified ·
1 Parent(s): 8e13a83

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -40,20 +40,20 @@ Please follow the [instruction](https://github.com/yangzhou12/BenchX/blob/releas
40
  To fine-tune M-FLAG for classification, run this command:
41
 
42
  ```
43
- python bin/train.py config/classification/<dataset_name>/M-FLAG.yml
44
  ```
45
 
46
  ### 2. Segmentation
47
  To fine-tune M-FLAG for segmentation, run this command:
48
 
49
  ```
50
- python mmsegmentation/tools/train.py config/benchmark/<dataset_name>/M-FLAG.yml
51
  ```
52
 
53
  ### 3. Report Generation
54
  To fine-tune M-FLAG for report generation, run this command:
55
  ```
56
- python bin/train.py config/report_generation/<dataset_name>/M-FLAG.yml
57
  ```
58
 
59
  ### 4. Evaluation
@@ -61,10 +61,10 @@ To evaluate fine-tuned M-FLAG models, run:
61
 
62
  ```
63
  # For classification and report generation
64
- python bin/test.py config/<task_name>/<dataset_name>/M-FLAG.yml validator.splits=[test] ckpt_dir=<path_to_checkpoint>
65
 
66
  # For segmentation
67
- python mmsegmentation/tools/my_test.py mmsegmentation/config/<dataset_name>/M-FLAG.yml <path_to_checkpoint>
68
  ```
69
 
70
  ## Citations
 
40
  To fine-tune M-FLAG for classification, run this command:
41
 
42
  ```
43
+ python bin/train.py config/classification/<dataset_name>/mflag.yml
44
  ```
45
 
46
  ### 2. Segmentation
47
  To fine-tune M-FLAG for segmentation, run this command:
48
 
49
  ```
50
+ python mmsegmentation/tools/train.py config/benchmark/<dataset_name>/mflag.yml
51
  ```
52
 
53
  ### 3. Report Generation
54
  To fine-tune M-FLAG for report generation, run this command:
55
  ```
56
+ python bin/train.py config/report_generation/<dataset_name>/mflag.yml
57
  ```
58
 
59
  ### 4. Evaluation
 
61
 
62
  ```
63
  # For classification and report generation
64
+ python bin/test.py config/<task_name>/<dataset_name>/mflag.yml validator.splits=[test] ckpt_dir=<path_to_checkpoint>
65
 
66
  # For segmentation
67
+ python mmsegmentation/tools/my_test.py mmsegmentation/config/<dataset_name>/mflag.yml <path_to_checkpoint>
68
  ```
69
 
70
  ## Citations