|
Download README.md from RISHIKAMASHETTY/sam-model: direct link, hf CLI and curl.
- Browser
- Download file 771 Bytes
-
https://huggingface.co/RISHIKAMASHETTY/sam-model/resolve/main/README.md
- Command line
-
hf download hf://RISHIKAMASHETTY/sam-model/README.md
-
curl -L -o README.md https://huggingface.co/RISHIKAMASHETTY/sam-model/resolve/main/README.md
771 Bytes
| license: apache-2.0 | |
| base_model: facebook/sam-vit-base | |
| datasets: | |
| - RISHIKAMASHETTY/indian-paintings-synthetic-damage | |
| tags: | |
| - segmentation | |
| - sam | |
| - cultural-heritage | |
| # SAM fine-tuned for synthetic damage segmentation in Indian paintings | |
| `facebook/sam-vit-base` with the mask decoder fine-tuned (image encoder frozen). | |
| - Training details: `training_config.json` | |
| - Losses: `results/epoch_losses.csv`, `results/loss_curve.png` | |
| - Train/val file lists: `results/split_files.csv` | |
| ## Usage | |
| ```python | |
| from transformers import SamModel, SamProcessor | |
| model = SamModel.from_pretrained("RISHIKAMASHETTY/sam-model") | |
| processor = SamProcessor.from_pretrained("RISHIKAMASHETTY/sam-model") | |
| ``` | |
| All damage is synthetic; results do not establish performance on real deterioration. | |