Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
code-797 authored Jan 21, 2024
1 parent 41c6581 commit 4db110f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TorchVision 0.14.1

### Datasets
We follow the data set structure of HQSeg-44K as follows:
'''
```
data
|____DIS5K
|____cascade_psp
Expand All @@ -28,18 +28,18 @@ data
|____thin_object_detection
| |____COIFT
| |____ThinObject5K
'''
```
You can get the datasets from [here](https://drive.google.com/drive/folders/1j1yFEejTAdAQzSbCrdBWoHE4VjaAf25L?usp=drive_link)
### Train
'''
```
python -m torch.distributed.launch --nproc_per_node=<num_gpus> train.py --checkpoint <your checkpoint path> --model-type <model_type> --output <your output path>
'''
```

EG-SAM is an improvement on the basis of HQ-SAM, you can follow the environment Settings [here](https://github.com/SysCV/SAM-HQ?tab=readme-ov-file)
### Evaluation
'''
'```
python -m torch.distributed.launch --nproc_per_node=<num_gpus> train.py --checkpoint <your checkpoint path> --model-type <model_type> --output <your output path> --eval --restore-model <your training_checkpoint path>
'''
```
You can get the weight file [here](https://drive.google.com/file/d/1B9-bTQ4c_fG8s--837HpMhaUT5gWGdv9/view?usp=drive_link)
### Visualization
Expand Down

0 comments on commit 4db110f

Please sign in to comment.