Improve model card: add pipeline tag, library name, and link to code
#1
by
nielsr
HF Staff
- opened
README.md
CHANGED
|
@@ -1,12 +1,55 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
| 3 |
datasets:
|
| 4 |
- wltjr1007/DomainNet
|
| 5 |
language:
|
| 6 |
- en
|
|
|
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
| 9 |
-
|
| 10 |
-
|
| 11 |
---
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model:
|
| 3 |
+
- microsoft/resnet-50
|
| 4 |
datasets:
|
| 5 |
- wltjr1007/DomainNet
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
+
license: mit
|
| 9 |
metrics:
|
| 10 |
- accuracy
|
| 11 |
+
pipeline_tag: image-classification
|
| 12 |
+
library_name: pytorch
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
arxiv.org/abs/2505.24216
|
| 16 |
+
|
| 17 |
+
[Code](https://github.com/PrasannaPulakurthi/SPM)
|
| 18 |
+
|
| 19 |
+
# Shuffle PatchMix
|
| 20 |
+
|
| 21 |
+
This is the official implementation of the **ICIP 2025** paper **"Shuffle PatchMix Augmentation with Confidence-Margin Weighted Pseudo-Labels for Enhanced Source-Free Domain Adaptation"**, by [Prasanna Reddy Pulakurthi](https://www.prasannapulakurthi.com/), [Majid Rabbani](https://www.rit.edu/directory/mxreee-majid-rabbani), [Jamison Heard](https://www.rit.edu/directory/jrheee-jamison-heard), [Sohail A. Dianat](https://www.rit.edu/directory/sadeee-sohail-dianat), [Celso M. de Melo](https://celsodemelo.net/), and [Raghuveer Rao](https://ieeexplore.ieee.org/author/37281258600).
|
| 22 |
+
|
| 23 |
+
Shuffle PatchMix (SPM) is an augmentation technique that shuffles and blends image patches to generate diverse and challenging augmentations. It is combined with a novel reweighting strategy that prioritizes reliable pseudo-labels to mitigate label noise.
|
| 24 |
+
|
| 25 |
+
## Installation
|
| 26 |
+
|
| 27 |
+
1. Clone this repository.
|
| 28 |
+
|
| 29 |
+
```bash
|
| 30 |
+
git clone https://github.com/PrasannaPulakurthi/SPM.git
|
| 31 |
+
cd SPM
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
2. Install requirements using Python 3.9.
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
conda create -n spm-env python=3.9
|
| 38 |
+
conda activate spm-env
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
3. The code is tested with [Pytorch](https://pytorch.org/get-started/locally/) 1.7.1, CUDA 11.0.
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 -f https://download.pytorch.org/whl/torch_stable.html
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
4. Please also make sure to install additional packages using the following command.
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
pip install -r requirements.txt
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
## Datasets
|
| 54 |
+
|
| 55 |
+
The model was evaluated on three major benchmarks: PACS, VisDA-C, and DomainNet-126. Instructions for preparing these datasets can be found in the Github repository.
|