File size: 1,066 Bytes
b780ea1
468f7c1
b780ea1
468f7c1
4cfb89e
 
 
 
a416f75
 
 
 
 
 
 
 
 
 
 
 
 
 
4cfb89e
173b31b
 
 
99a2f33
173b31b
 
 
99a2f33
 
 
 
 
 
 
468f7c1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
license: mit
---

The dataset proposed in our paper "AnyPattern: Towards In-context Image Copy Detection".

Please go to [Github](https://github.com/WangWenhao0716/AnyPattern) for the code about how to use this dataset.

Here, we show how to **download** this dataset.


# anypattern_v31
```
for letter in {a..z}; do
  wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/train/anypattern_v31_part_a$letter
done
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/train/anypattern_v31_part_ba

cat anypattern_v31_part_a{a..z} anypattern_v31_part_ba > anypattern_v31.tar

tar -xvf anypattern_v31.tar
```

# original_images
```
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/original/train_{0..19}.zip
for $z$ in train_*.zip; do unzip $z; done
mv images/train original_images
```

# reference_images
```
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/reference/references_{0..19}.zip
for $z$ in references_*.zip; do unzip $z; done
mv images/references reference_images
```