ReyChiaro commited on
Commit
917565f
·
verified ·
1 Parent(s): 495f1e8

Initial SmoothStyle

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitignore +6 -0
  2. CHANGELOG.md +11 -0
  3. DATASET_LICENSE.md +43 -0
  4. DATASET_LICENSE.zh-CN.md +46 -0
  5. LICENSES/APACHE-2.0.txt +9 -0
  6. LICENSES/CC-BY-4.0.txt +10 -0
  7. README.md +161 -0
  8. README.zh-CN.md +148 -0
  9. THIRD_PARTY_NOTICES.md +47 -0
  10. THIRD_PARTY_NOTICES.zh-CN.md +50 -0
  11. data/test/content/0000.jpg +3 -0
  12. data/test/content/0005.jpg +3 -0
  13. data/test/content/0011.jpg +3 -0
  14. data/test/content/0012.jpg +3 -0
  15. data/test/content/0013.jpg +3 -0
  16. data/test/content/0020.jpg +3 -0
  17. data/test/content/0021.jpg +3 -0
  18. data/test/content/0035.jpg +3 -0
  19. data/test/content/0052.jpg +3 -0
  20. data/test/content/0059.jpg +3 -0
  21. data/test/content/0060.jpg +3 -0
  22. data/test/content/0064.jpg +3 -0
  23. data/test/content/0068.jpg +3 -0
  24. data/test/content/0073.jpg +3 -0
  25. data/test/content/0099.jpg +3 -0
  26. data/test/content/0101.jpg +3 -0
  27. data/test/content/0103.jpg +3 -0
  28. data/test/content/0105.jpg +3 -0
  29. data/test/content/0112.jpg +3 -0
  30. data/test/content/0113.jpg +3 -0
  31. data/test/content/0119.jpg +3 -0
  32. data/test/content/0123.jpg +3 -0
  33. data/test/content/0133.jpg +3 -0
  34. data/test/content/0137.jpg +3 -0
  35. data/test/content/0138.jpg +3 -0
  36. data/test/content/0139.jpg +3 -0
  37. data/test/content/0140.jpg +3 -0
  38. data/test/content/0148.jpg +3 -0
  39. data/test/content/0155.jpg +3 -0
  40. data/test/content/0156.jpg +3 -0
  41. data/test/content/0158.jpg +3 -0
  42. data/test/content/0174.jpg +3 -0
  43. data/test/content/0179.jpg +3 -0
  44. data/test/content/0188.jpg +3 -0
  45. data/test/content/0197.jpg +3 -0
  46. data/test/content/0199.jpg +3 -0
  47. data/test/content/0200.jpg +3 -0
  48. data/test/content/0208.jpg +3 -0
  49. data/test/content/0214.jpg +3 -0
  50. data/test/content/0224.jpg +3 -0
.gitignore ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ .DS_Store
2
+ __pycache__/
3
+ *.py[cod]
4
+ .cache/
5
+ .smoothstyle-build-*/
6
+
CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ - Created the standalone Hugging Face repository structure.
6
+ - Preserved the existing 80/20 pair-level train/test split.
7
+ - Removed redundant content/style copies from target groups.
8
+ - Added per-example metadata, per-asset provenance status, split manifests, statistics, and checksums.
9
+ - Added mixed-rights licensing and third-party notices.
10
+ - Recorded the content images as a random subset of OmniStyle-150K and preserved its declared Apache-2.0 license and citation.
11
+ - Added Simplified Chinese versions of the README, dataset rights notice, and third-party notices.
DATASET_LICENSE.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SmoothStyle Dataset Rights and License Notice
2
+
3
+ [English](DATASET_LICENSE.md) | [简体中文](DATASET_LICENSE.zh-CN.md)
4
+
5
+ SmoothStyle contains project-authored metadata, project-generated images, third-party reference images, and images derived from combinations of those inputs. It is therefore not covered by one blanket license.
6
+
7
+ ## Project-authored metadata
8
+
9
+ To the extent owned by the SmoothStyle contributors, the dataset indices, split manifests, statistics, documentation, and provenance annotations are made available under the Creative Commons Attribution 4.0 International license (CC BY 4.0).
10
+
11
+ Canonical license URL: https://creativecommons.org/licenses/by/4.0/
12
+
13
+ ## OmniStyle-150K content images
14
+
15
+ SmoothStyle content images were randomly selected from the `content/` collection of OmniStyle-150K:
16
+
17
+ https://huggingface.co/datasets/StyleXX/OmniStyle-150k
18
+
19
+ The OmniStyle-150K Hugging Face Dataset Card declares the dataset under Apache-2.0. SmoothStyle redistributes this subset on the basis of that upstream declaration, preserves attribution to OmniStyle-150K, and grants no additional rights in the upstream material.
20
+
21
+ The OmniStyle paper describes its content-image collection as generated using FLUX. The upstream Dataset Card does not provide per-image model version, prompt, seed, or separate output-license records. Those limitations are retained in SmoothStyle's provenance notice.
22
+
23
+ ## Project-generated style images
24
+
25
+ Style reference images whose IDs begin with `1` were generated by the SmoothStyle project. Their final public license remains pending until the model/provider terms, prompts, reference inputs, and contributor permissions have been documented. No rights beyond those held by the SmoothStyle contributors are granted.
26
+
27
+ ## Style30K images
28
+
29
+ Style reference images whose IDs begin with `0` were selected from Style30K. They are third-party materials. Their inclusion does not transfer copyright to the SmoothStyle contributors, and SmoothStyle grants no additional rights in them.
30
+
31
+ The StyleTokenizer repository is presented under CC BY 4.0 and states that some Style30K images were sourced via LAION-5B. LAION-5B applies CC BY 4.0 to its metadata, not to the underlying images. Underlying image rights remain with their respective original rightsholders and may be subject to additional source-site terms.
32
+
33
+ ## Stylized targets
34
+
35
+ Stylized targets were generated by the project using the STROTSS method. To the extent copyright or related rights exist in a target, its rights status may depend on both its content reference and its style reference. Generating a target does not extinguish third-party rights in either input.
36
+
37
+ No blanket license is granted for a stylized target whose input rights have not been verified.
38
+
39
+ ## No implied rights
40
+
41
+ Nothing in this notice grants rights in trademarks, publicity rights, privacy rights, moral rights, or other rights held by third parties. A source label or license label is a provenance statement, not a warranty that every possible use is permitted.
42
+
43
+ Before public release, unresolved assets should either be cleared, removed, or distributed only through a mechanism supported by an appropriate legal basis. Access gating alone does not supply missing redistribution rights.
DATASET_LICENSE.zh-CN.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SmoothStyle 数据集权利与许可声明
2
+
3
+ [English](DATASET_LICENSE.md) | [简体中文](DATASET_LICENSE.zh-CN.md)
4
+
5
+ > 本文件是 [DATASET_LICENSE.md](DATASET_LICENSE.md) 的中文译文,仅供理解和参考。如中文译文与英文原文存在不一致,以英文原文为准。
6
+
7
+ SmoothStyle 包含项目原创元数据、项目生成图像、第三方参考图,以及由这些输入组合生成的派生图像。因此,本数据集不适用单一、统一的概括性许可证。
8
+
9
+ ## 项目原创元数据
10
+
11
+ 在 SmoothStyle 贡献者拥有相关权利的范围内,数据集索引、切分清单、统计信息、文档和来源标注以“知识共享署名 4.0 国际许可协议”(CC BY 4.0)提供。
12
+
13
+ 许可证规范地址:https://creativecommons.org/licenses/by/4.0/
14
+
15
+ ## OmniStyle-150K 内容图
16
+
17
+ SmoothStyle 内容图从 OmniStyle-150K 的 `content/` 集合中随机选择:
18
+
19
+ https://huggingface.co/datasets/StyleXX/OmniStyle-150k
20
+
21
+ OmniStyle-150K 的 Hugging Face Dataset Card 声明该数据集采用 Apache-2.0 许可证。SmoothStyle 基于该上游声明再分发所选子集,保留对 OmniStyle-150K 的署名,不对上游材料额外授予任何权利。
22
+
23
+ OmniStyle 论文说明其内容图集合使用 FLUX 生成。上游 Dataset Card 未提供逐图模型版本、提示词、随机种子或独立的生成输出许可证记录。SmoothStyle 在来源声明中保留这些限制。
24
+
25
+ ## 项目生成的风格图
26
+
27
+ ID 以 `1` 开头的风格参考图由 SmoothStyle 项目生成。在完成生成模型或服务条款、提示词、参考输入和贡献者许可记录之前,这些图像的最终公开许可证仍待确定。本项目仅在 SmoothStyle 贡献者实际拥有权利的范围内授予权利。
28
+
29
+ ## Style30K 图像
30
+
31
+ ID 以 `0` 开头的风格参考图选自 Style30K,属于第三方材料。收录这些图像不会使其版权转移给 SmoothStyle 贡献者,SmoothStyle 也不对这些图像额外授予任何权利。
32
+
33
+ StyleTokenizer 仓库标示为 CC BY 4.0,并说明 Style30K 的部分图像经由 LAION-5B 获取。LAION-5B 的 CC BY 4.0 仅适用于其元数据,不适用于底层图片。底层图片权利仍属于各自原始权利人,并可能受来源网站附加条款约束。
34
+
35
+ ## 风格化目标图
36
+
37
+ 风格化目标图由项目使用 STROTSS 方法生成。在目标图存在版权或相关权利的范围内,其权利状态可能同时取决于内容参考图和风格参考图。生成目标图不会消除任一输入中存在的第三方权利。
38
+
39
+ 对于输入权利尚未核实的风格化目标图,本项目不授予统一或概括性的许可证。
40
+
41
+ ## 不构成默示授权
42
+
43
+ 本声明中的任何内容均不授予商标权、公开权、隐私权、精神权利或第三方持有的其他权利。来源标签或许可证标签属于来源说明,并不保证所有可能的使用方式均已获得许可。
44
+
45
+ 在公开发布前,应对尚未解决的资产完成清权、将其移除,或者仅在具备适当法律依据的机制下分发。设置访问门槛本身不能补足缺失的再分发权利。
46
+
LICENSES/APACHE-2.0.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Apache License 2.0
2
+
3
+ SPDX identifier: Apache-2.0
4
+ Canonical license text:
5
+ https://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ This license reference applies to the OmniStyle-150K content-image subset on
8
+ the basis of the upstream dataset's Hugging Face license declaration. It does
9
+ not change the rights status of Style30K images or other third-party material.
LICENSES/CC-BY-4.0.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Creative Commons Attribution 4.0 International (CC BY 4.0)
2
+
3
+ SPDX identifier: CC-BY-4.0
4
+ Canonical license and legal code:
5
+ https://creativecommons.org/licenses/by/4.0/
6
+
7
+ This license applies only to SmoothStyle materials explicitly identified as
8
+ CC BY 4.0. It does not automatically apply to third-party images or to assets
9
+ whose rights status is marked as unknown or pending.
10
+
README.md ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: SmoothStyle
3
+ license: other
4
+ task_categories:
5
+ - image-to-image
6
+ tags:
7
+ - image
8
+ - style-transfer
9
+ - controllable-generation
10
+ - strotss
11
+ size_categories:
12
+ - 10K<n<100K
13
+ ---
14
+
15
+ # SmoothStyle
16
+
17
+ [English](README.md) | [简体中文](README.zh-CN.md)
18
+
19
+ SmoothStyle is an image-to-image style-transfer dataset with continuous style-strength supervision. Each example contains a content image, a style reference image, a stylized target image, and a scalar style strength.
20
+
21
+ > **Release status:** the repository structure and data indices are prepared for reproducibility, but the dataset must not be made public until the remaining Style30K per-image rights review and project-generated style-image generation records have been completed. See [DATASET_LICENSE.md](DATASET_LICENSE.md) and [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
22
+
23
+ ## Dataset structure
24
+
25
+ The dataset contains 1,812 content-style pairs. Each pair has ten stylized targets corresponding to strengths 0.1 through 1.0.
26
+
27
+ | Split | Pairs | Examples |
28
+ | --- | ---: | ---: |
29
+ | train | 1,449 | 14,490 |
30
+ | test | 363 | 3,630 |
31
+ | total | 1,812 | 18,120 |
32
+
33
+ Each JSONL row is one training example:
34
+
35
+ ```json
36
+ {
37
+ "id": "0000_1011_06",
38
+ "pair_id": "0000_1011",
39
+ "content_id": "0000",
40
+ "style_id": "1011",
41
+ "strength_id": 6,
42
+ "strength": 0.6,
43
+ "content_file_name": "content/0000.jpg",
44
+ "style_file_name": "style/1011.jpg",
45
+ "target_file_name": "target/s06/0000_1011_6.jpg",
46
+ "style_source": "project-generated",
47
+ "generator": "STROTSS"
48
+ }
49
+ ```
50
+
51
+ The `*_file_name` fields follow the Hugging Face ImageFolder metadata convention and are relative to the split directory containing `metadata.jsonl`.
52
+
53
+ ```text
54
+ data/
55
+ ├── train/
56
+ │ ├── metadata.jsonl
57
+ │ ├── content/
58
+ │ ├── style/
59
+ │ └── target/s01 ... target/s10/
60
+ └── test/
61
+ ├── metadata.jsonl
62
+ ├── content/
63
+ ├── style/
64
+ └── target/s01 ... target/s10/
65
+ ```
66
+
67
+ Strength IDs `1` through `10` map to scalar strengths `0.1` through `1.0`. The source collection also used IDs `0` and `11` for duplicated content and style references; those redundant copies are not included in this repository.
68
+
69
+ ## Loading
70
+
71
+ After publishing this repository on the Hugging Face Hub:
72
+
73
+ ```python
74
+ from datasets import load_dataset
75
+
76
+ dataset = load_dataset("ORG/SmoothStyle")
77
+ sample = dataset["train"][0]
78
+
79
+ content = sample["content"]
80
+ style = sample["style"]
81
+ target = sample["target"]
82
+ strength = sample["strength"]
83
+ ```
84
+
85
+ For a local checkout:
86
+
87
+ ```python
88
+ dataset = load_dataset("imagefolder", data_dir="data")
89
+ ```
90
+
91
+ ## Split policy
92
+
93
+ The existing project split is preserved using seed 42 and an 80/20 split over complete `(content_id, style_id)` pairs. Pair IDs and content IDs do not overlap between train and test. Some style IDs occur in both splits; therefore this split evaluates unseen content-style pairs, not strictly unseen-style generalization. Exact pair lists are stored in `metadata/split_manifest.json`.
94
+
95
+ ## Image sources
96
+
97
+ Content images were randomly selected from the `content/` collection of [OmniStyle-150K](https://huggingface.co/datasets/StyleXX/OmniStyle-150k). Its Hugging Face Dataset Card declares the dataset under Apache-2.0. The OmniStyle paper describes its content images as generated using FLUX. SmoothStyle preserves this upstream declaration and grants no additional rights in the OmniStyle source material.
98
+
99
+ Style IDs beginning with `0` were selected from Style30K. Style IDs beginning with `1` were generated by the SmoothStyle project. The complete per-asset status is recorded in `metadata/sources.jsonl`.
100
+
101
+ According to the StyleTokenizer documentation, some Style30K images were sourced via LAION-5B. LAION-5B licenses its metadata under CC BY 4.0, while the underlying images remain subject to the rights of their original rightsholders. SmoothStyle does not infer that a specific Style30K image came from LAION-5B unless a reliable source mapping is available.
102
+
103
+ ## Generation method
104
+
105
+ Stylized target images were generated by the dataset authors using an implementation of Style Transfer by Relaxed Optimal Transport and Self-Similarity (STROTSS). Users should cite the STROTSS paper in addition to this dataset.
106
+
107
+ The target generation operation does not remove rights associated with source content or style images. The rights status of every target therefore depends on the rights status of both source images.
108
+
109
+ ## Intended uses
110
+
111
+ SmoothStyle is intended for research on controllable image style transfer, continuous style-strength conditioning, image-to-image generation, and related evaluation methods.
112
+
113
+ The dataset should not be used to claim unseen-style generalization with the provided split, to identify people, or to reproduce or impersonate living artists without appropriate permission.
114
+
115
+ ## Licensing
116
+
117
+ This is a mixed-rights dataset and is marked `license: other`. Project-authored metadata is offered under CC BY 4.0. No blanket license is granted for third-party images. See:
118
+
119
+ - [DATASET_LICENSE.md](DATASET_LICENSE.md)
120
+ - [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)
121
+ - [LICENSES/CC-BY-4.0.txt](LICENSES/CC-BY-4.0.txt)
122
+ - [LICENSES/APACHE-2.0.txt](LICENSES/APACHE-2.0.txt)
123
+
124
+ ## Reproducibility and integrity
125
+
126
+ - `metadata/dataset_stats.json`: dataset counts and source categories
127
+ - `metadata/split_manifest.json`: deterministic pair membership
128
+ - `metadata/sources.jsonl`: per-asset provenance and rights status
129
+ - `metadata/checksums.sha256`: SHA-256 checksums for generated repository data and metadata
130
+ - `scripts/build_dataset.py`: deterministic build script
131
+ - `scripts/validate_dataset.py`: structural, image-decoding, split, and checksum validation
132
+
133
+ ## Citation
134
+
135
+ Dataset citation information will be added when the accompanying SmoothStyle paper metadata is finalized.
136
+
137
+ Please also cite OmniStyle, the source of the content-image subset:
138
+
139
+ ```bibtex
140
+ @inproceedings{wang2025omnistyle,
141
+ title={OmniStyle: Filtering High Quality Style Transfer Data at Scale},
142
+ author={Wang, Ye and Liu, Ruiqi and Lin, Jiang and Liu, Fei and Yi, Zili and Wang, Yilin and Ma, Rui},
143
+ booktitle={CVPR},
144
+ year={2025}
145
+ }
146
+ ```
147
+
148
+ Please also cite STROTSS:
149
+
150
+ ```bibtex
151
+ @inproceedings{kolkin2019style,
152
+ title={Style Transfer by Relaxed Optimal Transport and Self-Similarity},
153
+ author={Kolkin, Nicholas and Salavon, Jason and Shakhnarovich, Greg},
154
+ booktitle={CVPR},
155
+ year={2019}
156
+ }
157
+ ```
158
+
159
+ ## Contact and takedown
160
+
161
+ Maintainer contact and a formal correction/takedown address must be added before public release. Until then, this repository should remain private.
README.zh-CN.md ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SmoothStyle
2
+
3
+ [English](README.md) | [简体中文](README.zh-CN.md)
4
+
5
+ SmoothStyle 是一个具有连续风格强度监督的图像到图像风格迁移数据集。每个样本包含一张内容图、一张风格参考图、一张风格化目标图,以及一个标量形式的风格强度。
6
+
7
+ > **发布状态:** 当前仓库结构和数据索引已经整理完成,可用于复现;但在完成 Style30K 逐图权利审核以及项目自生成风格图的生成记录之前,不应将该数据集设为公开。详情请参阅 [DATASET_LICENSE.zh-CN.md](DATASET_LICENSE.zh-CN.md) 和 [THIRD_PARTY_NOTICES.zh-CN.md](THIRD_PARTY_NOTICES.zh-CN.md)。
8
+
9
+ ## 数据集结构
10
+
11
+ 数据集包含 1,812 个内容—风格组合。每个组合包含十张风格化目标图,对应从 0.1 到 1.0 的十个风格强度。
12
+
13
+ | 切分 | 组合数 | 样本数 |
14
+ | --- | ---: | ---: |
15
+ | train | 1,449 | 14,490 |
16
+ | test | 363 | 3,630 |
17
+ | 总计 | 1,812 | 18,120 |
18
+
19
+ 每一行 JSONL 对应一个训练样本:
20
+
21
+ ```json
22
+ {
23
+ "id": "0000_1011_06",
24
+ "pair_id": "0000_1011",
25
+ "content_id": "0000",
26
+ "style_id": "1011",
27
+ "strength_id": 6,
28
+ "strength": 0.6,
29
+ "content_file_name": "content/0000.jpg",
30
+ "style_file_name": "style/1011.jpg",
31
+ "target_file_name": "target/s06/0000_1011_6.jpg",
32
+ "style_source": "project-generated",
33
+ "generator": "STROTSS"
34
+ }
35
+ ```
36
+
37
+ `*_file_name` 字段遵循 Hugging Face ImageFolder 的元数据约定,其路径相对于同一切分下包含 `metadata.jsonl` 的目录。
38
+
39
+ ```text
40
+ data/
41
+ ├── train/
42
+ │ ├── metadata.jsonl
43
+ │ ├── content/
44
+ │ ├── style/
45
+ │ └── target/s01 ... target/s10/
46
+ └── test/
47
+ ├── metadata.jsonl
48
+ ├── content/
49
+ ├── style/
50
+ └── target/s01 ... target/s10/
51
+ ```
52
+
53
+ 强度 ID `1` 至 `10` 分别映射为标量强度 `0.1` 至 `1.0`。源数据还使用 ID `0` 和 `11` 表示重复的内容参考图和风格参考图;本仓库不包含这些冗余副本。
54
+
55
+ ## 加载方式
56
+
57
+ 将本仓库发布至 Hugging Face Hub 后:
58
+
59
+ ```python
60
+ from datasets import load_dataset
61
+
62
+ dataset = load_dataset("ORG/SmoothStyle")
63
+ sample = dataset["train"][0]
64
+
65
+ content = sample["content"]
66
+ style = sample["style"]
67
+ target = sample["target"]
68
+ strength = sample["strength"]
69
+ ```
70
+
71
+ 加载本地仓库:
72
+
73
+ ```python
74
+ dataset = load_dataset("imagefolder", data_dir="data")
75
+ ```
76
+
77
+ ## 数据切分策略
78
+
79
+ 本数据集保留项目现有切分:使用随机种子 42,对完整的 `(content_id, style_id)` 组合执行 80/20 切分。train 与 test 之间不存在重复的组合 ID 或内容 ID,但部分风格 ID 同时出现在两个切分中。因此,该切分评估的是未见过的内容—风格组合,而不是严格意义上的未见风格泛化。完整组合列表存放于 `metadata/split_manifest.json`。
80
+
81
+ ## 图像来源
82
+
83
+ 内容图从 [OmniStyle-150K](https://huggingface.co/datasets/StyleXX/OmniStyle-150k) 的 `content/` 集合中随机选择。其 Hugging Face Dataset Card 声明数据集使用 Apache-2.0 许可证。OmniStyle 论文说明这些内容图使用 FLUX 生成。SmoothStyle 保留该上游授权声明,不对 OmniStyle 来源材料额外授予任何权利。
84
+
85
+ 以 `0` 开头的风格 ID 选自 Style30K;以 `1` 开头的风格 ID 由 SmoothStyle 项目生成。每项资产的完整状态记录在 `metadata/sources.jsonl` 中。
86
+
87
+ 根据 StyleTokenizer 文档,Style30K 的部分图像经由 LAION-5B 获取。LAION-5B 以 CC BY 4.0 授权其元数据,但底层图像仍受其原始权利人权利约束。在缺少可靠逐图来源映射时,SmoothStyle 不推断某张具体 Style30K 图像来自 LAION-5B。
88
+
89
+ ## 生成方法
90
+
91
+ 风格化目标图由数据集作者使用“基于松弛最优传输和自相似性的风格迁移”(STROTSS)方法的实现生成。使用本数据集时,除引用本数据集外,还应引用 STROTSS 论文。
92
+
93
+ 目标图生成操作不会消除内容图或风格图所附带的权利。因此,每张目标图的权利状态取决于其内容图和风格图的权利状态。
94
+
95
+ ## 预期用途
96
+
97
+ SmoothStyle 面向可控图像风格迁移、连续风格强度条件控制、图像到图像生成及相关评估方法的研究。
98
+
99
+ 不应使用当前切分声称模型具备未见风格泛化能力;不得使用本数据集识别个人;未经适当许可,不得利用本数据集复制或冒充在世艺术家的创作。
100
+
101
+ ## 许可说明
102
+
103
+ 本数据集包含多种权利状态,因此 Hugging Face 元数据标记为 `license: other`。项目原创元数据以 CC BY 4.0 提供。本项目不对第三方图像授予统一或概括性的许可证。详情参阅:
104
+
105
+ - [DATASET_LICENSE.zh-CN.md](DATASET_LICENSE.zh-CN.md)
106
+ - [THIRD_PARTY_NOTICES.zh-CN.md](THIRD_PARTY_NOTICES.zh-CN.md)
107
+ - [LICENSES/CC-BY-4.0.txt](LICENSES/CC-BY-4.0.txt)
108
+ - [LICENSES/APACHE-2.0.txt](LICENSES/APACHE-2.0.txt)
109
+
110
+ ## 可复现性与完整性
111
+
112
+ - `metadata/dataset_stats.json`:数据集数量统计和来源类别
113
+ - `metadata/split_manifest.json`:确定性的组合切分成员列表
114
+ - `metadata/sources.jsonl`:逐项资产来源和权利状态
115
+ - `metadata/checksums.sha256`:所生成仓库数据和元数据的 SHA-256 校验和
116
+ - `scripts/build_dataset.py`:确定性构建脚本
117
+ - `scripts/validate_dataset.py`:结构、图片解码、切分和校验和验证脚本
118
+
119
+ ## 引用
120
+
121
+ 待 SmoothStyle 配套论文信息确定后,将在此补充本数据集的引用信息。
122
+
123
+ 同时请引用内容图子集的来源 OmniStyle:
124
+
125
+ ```bibtex
126
+ @inproceedings{wang2025omnistyle,
127
+ title={OmniStyle: Filtering High Quality Style Transfer Data at Scale},
128
+ author={Wang, Ye and Liu, Ruiqi and Lin, Jiang and Liu, Fei and Yi, Zili and Wang, Yilin and Ma, Rui},
129
+ booktitle={CVPR},
130
+ year={2025}
131
+ }
132
+ ```
133
+
134
+ 同时请引用 STROTSS:
135
+
136
+ ```bibtex
137
+ @inproceedings{kolkin2019style,
138
+ title={Style Transfer by Relaxed Optimal Transport and Self-Similarity},
139
+ author={Kolkin, Nicholas and Salavon, Jason and Shakhnarovich, Greg},
140
+ booktitle={CVPR},
141
+ year={2019}
142
+ }
143
+ ```
144
+
145
+ ## 联系与下架请求
146
+
147
+ 在公开发布前,必须补充维护者联系方式以及正式的纠错和下架请求邮箱。在完成这些信息之前,本仓库应保持私有。
148
+
THIRD_PARTY_NOTICES.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Third-Party Notices
2
+
3
+ [English](THIRD_PARTY_NOTICES.md) | [简体中文](THIRD_PARTY_NOTICES.zh-CN.md)
4
+
5
+ ## OmniStyle-150K
6
+
7
+ - Dataset: OmniStyle-150K
8
+ - Repository: https://huggingface.co/datasets/StyleXX/OmniStyle-150k
9
+ - Paper: OmniStyle: Filtering High Quality Style Transfer Data at Scale, CVPR 2025
10
+ - Paper URL: https://openaccess.thecvf.com/content/CVPR2025/html/Wang_OmniStyle_Filtering_High_Quality_Style_Transfer_Data_at_Scale_CVPR_2025_paper.html
11
+ - Declared upstream dataset license: Apache-2.0
12
+ - Use in SmoothStyle: randomly selected content-image subset
13
+
14
+ The OmniStyle-150K Dataset Card identifies `content/` as its original content-image collection and declares the repository under Apache-2.0. The accompanying paper states that content images were generated using FLUX. SmoothStyle preserves the upstream attribution and license declaration and does not grant additional rights in these images.
15
+
16
+ The published OmniStyle-150K materials do not provide SmoothStyle with per-image FLUX model-version, prompt, seed, or separate output-license records. SmoothStyle therefore records the license basis as the upstream Dataset Card rather than as an independently verified per-image generation license.
17
+
18
+ ## Style30K / StyleTokenizer
19
+
20
+ - Project: StyleTokenizer: Defining Image Style by a Single Instance for Controlling Diffusion Models
21
+ - Repository: https://github.com/alipay/style-tokenizer
22
+ - Dataset: Style30K
23
+ - Repository license indicator: CC BY 4.0
24
+ - Use in SmoothStyle: style reference images with IDs beginning with `0`
25
+ - Required action before public release: restore or preserve the mapping to original Style30K filenames and confirm the scope of the dataset redistribution permission
26
+
27
+ Attribution must identify StyleTokenizer/Style30K, link to its repository and license, and indicate that SmoothStyle uses a selected and renamed subset.
28
+
29
+ ## LAION-5B
30
+
31
+ - Project: LAION-5B
32
+ - Website: https://laion.ai/blog/laion-5b/
33
+ - Metadata license: CC BY 4.0
34
+ - Underlying images: copyright remains with original rightsholders
35
+
36
+ The StyleTokenizer documentation states that some Style30K images were sourced via LAION-5B. SmoothStyle does not label an individual image as sourced via LAION-5B without a reliable per-image mapping. Where that mapping is established, the LAION metadata license applies only to the LAION metadata; it does not replace the underlying image license.
37
+
38
+ ## STROTSS
39
+
40
+ - Paper: Style Transfer by Relaxed Optimal Transport and Self-Similarity
41
+ - Authors: Nicholas Kolkin, Jason Salavon, and Greg Shakhnarovich
42
+ - Paper: https://arxiv.org/abs/1904.12785
43
+ - Use in SmoothStyle: generation of style-strength target images
44
+
45
+ The STROTSS method citation describes the generation method. It does not determine the copyright status of generated outputs or their source images.
46
+
47
+ The local project implementation should be reviewed separately before source-code publication because a third-party STROTSS reimplementation may not provide an explicit software license.
THIRD_PARTY_NOTICES.zh-CN.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 第三方声明
2
+
3
+ [English](THIRD_PARTY_NOTICES.md) | [简体中文](THIRD_PARTY_NOTICES.zh-CN.md)
4
+
5
+ > 本文件是 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) 的中文译文,仅供理解和参考。如中文译文与英文原文存在不一致,以英文原文为准。
6
+
7
+ ## OmniStyle-150K
8
+
9
+ - 数据集:OmniStyle-150K
10
+ - 仓库:https://huggingface.co/datasets/StyleXX/OmniStyle-150k
11
+ - 论文:OmniStyle: Filtering High Quality Style Transfer Data at Scale,CVPR 2025
12
+ - 论文地址:https://openaccess.thecvf.com/content/CVPR2025/html/Wang_OmniStyle_Filtering_High_Quality_Style_Transfer_Data_at_Scale_CVPR_2025_paper.html
13
+ - 上游声明的数据集许可证:Apache-2.0
14
+ - 在 SmoothStyle 中的用途:随机选择的内容图子集
15
+
16
+ OmniStyle-150K Dataset Card 将 `content/` 标识为其原始内容图集合,并声明该仓库采用 Apache-2.0 许可证。配套论文说明内容图使用 FLUX 生成。SmoothStyle 保留上游署名和许可证声明,不对这些图像额外授予权利。
17
+
18
+ 已发布的 OmniStyle-150K 材料没有为 SmoothStyle 提供逐图 FLUX 模型版本、提示词、随机种子或独立输出许可证记录。因此,SmoothStyle 将授权依据记录为上游 Dataset Card,而不是经过独立核实的逐图生成许可证。
19
+
20
+ ## Style30K / StyleTokenizer
21
+
22
+ - 项目:StyleTokenizer: Defining Image Style by a Single Instance for Controlling Diffusion Models
23
+ - 仓库:https://github.com/alipay/style-tokenizer
24
+ - 数据集:Style30K
25
+ - 仓库许可证标识:CC BY 4.0
26
+ - 在 SmoothStyle 中的用途:ID 以 `0` 开头的风格参考图
27
+ - 公开发布前所需操作:恢复或保留本地 ID 到 Style30K 原始文件名的映射,并确认数据集再分发许可的适用范围
28
+
29
+ 署名信息必须标明 StyleTokenizer/Style30K,提供其仓库和许可证链接,并说明 SmoothStyle 使用的是经过选择和重命名的子集。
30
+
31
+ ## LAION-5B
32
+
33
+ - 项目:LAION-5B
34
+ - 网站:https://laion.ai/blog/laion-5b/
35
+ - 元数据许可证:CC BY 4.0
36
+ - 底层图像:版权仍属于原始权利人
37
+
38
+ StyleTokenizer 文档说明 Style30K 的部分图像经由 LAION-5B 获取。若不存在可靠的逐图映射,SmoothStyle 不会将某张具体图片标记为经由 LAION-5B 获取。建立该映射后,LAION 的元数据许可证仍仅适用于 LAION 元数据,不会取代底层图像许可证。
39
+
40
+ ## STROTSS
41
+
42
+ - 论文:Style Transfer by Relaxed Optimal Transport and Self-Similarity
43
+ - 作者:Nicholas Kolkin、Jason Salavon 和 Greg Shakhnarovich
44
+ - 论文地址:https://arxiv.org/abs/1904.12785
45
+ - 在 SmoothStyle 中的用途:生成具有不同风格强度的目标图
46
+
47
+ 对 STROTSS 方法的引用仅说明数据生成方法,并不决定生成输出或其输入图像的版权状态。
48
+
49
+ 在公开项目源代码前,还应单独审查本地 STROTSS 实现,因为其可能基于未提供明确软件许可证的第三方 STROTSS 重实现。
50
+
data/test/content/0000.jpg ADDED

Git LFS Details

  • SHA256: 7e9bd64dfb87c49c18edc30d890df054bf19a31b564ecbc6ba9ec0aafd719e09
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
data/test/content/0005.jpg ADDED

Git LFS Details

  • SHA256: 7b4722690ed6202ca1293933f220580ac654ccf10884c1ab698dfb582b19a108
  • Pointer size: 131 Bytes
  • Size of remote file: 127 kB
data/test/content/0011.jpg ADDED

Git LFS Details

  • SHA256: 9a1613a201869ff23c2a398031f8500818976d2d0a0dfab33a57d7b7d560a8e1
  • Pointer size: 131 Bytes
  • Size of remote file: 107 kB
data/test/content/0012.jpg ADDED

Git LFS Details

  • SHA256: 91f1d19b2ab384a3fc22b519ca3d534669bfc7baa0dba57fe8dd62c724f699b1
  • Pointer size: 130 Bytes
  • Size of remote file: 95.8 kB
data/test/content/0013.jpg ADDED

Git LFS Details

  • SHA256: 91b5ab8cfdc5322b9ace82d2617a18018b7c927362d65ebe02a6aa45d1c031c3
  • Pointer size: 131 Bytes
  • Size of remote file: 140 kB
data/test/content/0020.jpg ADDED

Git LFS Details

  • SHA256: 7f1e5cc4b5241441146970ea938b0f5ba3a88d65d3bb78d968d02cc540a64ecb
  • Pointer size: 131 Bytes
  • Size of remote file: 107 kB
data/test/content/0021.jpg ADDED

Git LFS Details

  • SHA256: 0120a19ac821140e8eeecb68e022d495c358713f00a9af7bf45da519ac102613
  • Pointer size: 131 Bytes
  • Size of remote file: 106 kB
data/test/content/0035.jpg ADDED

Git LFS Details

  • SHA256: 5cf33abe33658667ca9304fcf2b2c949b487b38824b7f3a12c943fa87fc4f180
  • Pointer size: 131 Bytes
  • Size of remote file: 108 kB
data/test/content/0052.jpg ADDED

Git LFS Details

  • SHA256: 98816a91643e2f7e4cfba9a0110732fb33e68502df1b3b65f5008fa91de43be9
  • Pointer size: 131 Bytes
  • Size of remote file: 134 kB
data/test/content/0059.jpg ADDED

Git LFS Details

  • SHA256: a6e303cf781cec4fed605d40ec9d287f3f45db0a04a27bb699f6b3f042d4eec8
  • Pointer size: 131 Bytes
  • Size of remote file: 161 kB
data/test/content/0060.jpg ADDED

Git LFS Details

  • SHA256: fb94a8d6944b8705d3c7f09b39c0447e58796067c9f900900c1f501fe3fa0e79
  • Pointer size: 131 Bytes
  • Size of remote file: 232 kB
data/test/content/0064.jpg ADDED

Git LFS Details

  • SHA256: 28a8af82a2213dfca694a8d083cb8eef219985b788b28f307f1063444837c202
  • Pointer size: 131 Bytes
  • Size of remote file: 180 kB
data/test/content/0068.jpg ADDED

Git LFS Details

  • SHA256: b8d584dbf17c410cceb895bf7890b81a13c29e626bae48b3599920e6d1c65083
  • Pointer size: 131 Bytes
  • Size of remote file: 225 kB
data/test/content/0073.jpg ADDED

Git LFS Details

  • SHA256: 216de7f0caa821d37339ec453a23d725d6c6f4b66c8b82ba3f1c0113d2bff624
  • Pointer size: 131 Bytes
  • Size of remote file: 164 kB
data/test/content/0099.jpg ADDED

Git LFS Details

  • SHA256: 6e89253ade8f072cf8b8806cab9561b0c7b96b4ad2bfda240b8c9747147211cd
  • Pointer size: 131 Bytes
  • Size of remote file: 125 kB
data/test/content/0101.jpg ADDED

Git LFS Details

  • SHA256: 5fd809e011aa5dce4d3f45279f719ca3ff8e3436949dfd09b7003983aba536bd
  • Pointer size: 131 Bytes
  • Size of remote file: 281 kB
data/test/content/0103.jpg ADDED

Git LFS Details

  • SHA256: f3e780904983948a32878d26b5b9f7c28e8562218801f745160e9e553d310ee0
  • Pointer size: 131 Bytes
  • Size of remote file: 256 kB
data/test/content/0105.jpg ADDED

Git LFS Details

  • SHA256: 2650706181c5d897605dab560daf7bf7c1288d2501d28f6d5cb425195019eecb
  • Pointer size: 131 Bytes
  • Size of remote file: 142 kB
data/test/content/0112.jpg ADDED

Git LFS Details

  • SHA256: 5bdec0949a481b22695a026a86eb474d7eaeaac22dd76c4d6bc62c84438d27bf
  • Pointer size: 131 Bytes
  • Size of remote file: 186 kB
data/test/content/0113.jpg ADDED

Git LFS Details

  • SHA256: 0c216784a74b196441d23df00d4701ba6674d45af6b5424658831925f6cf1b0b
  • Pointer size: 131 Bytes
  • Size of remote file: 258 kB
data/test/content/0119.jpg ADDED

Git LFS Details

  • SHA256: b450cbb2fdb473434ab66ac355cac1c7b8651ee969e7dde73c601b243a760313
  • Pointer size: 131 Bytes
  • Size of remote file: 137 kB
data/test/content/0123.jpg ADDED

Git LFS Details

  • SHA256: 3556b0c476a720afe49fc28b9514e43000d4eb054771eabe1b5ea64a8779309b
  • Pointer size: 131 Bytes
  • Size of remote file: 210 kB
data/test/content/0133.jpg ADDED

Git LFS Details

  • SHA256: 246e1b80a28c425b0f8ce94cc80be83cb187b4acb660fa64e21f0c6cebb9835b
  • Pointer size: 131 Bytes
  • Size of remote file: 148 kB
data/test/content/0137.jpg ADDED

Git LFS Details

  • SHA256: 4f7783d65dc056e780521dcfff0ab81920a161fea5e8994261320607d4c446bc
  • Pointer size: 131 Bytes
  • Size of remote file: 176 kB
data/test/content/0138.jpg ADDED

Git LFS Details

  • SHA256: c00289760d31066e24c3c232e0de69ad2c094f772a00347e5815e5b97e59622a
  • Pointer size: 131 Bytes
  • Size of remote file: 218 kB
data/test/content/0139.jpg ADDED

Git LFS Details

  • SHA256: b94ee6a5b884d70cb4f144c561d414c6f6e90408969d33221b6ba1f1a5e1f70f
  • Pointer size: 131 Bytes
  • Size of remote file: 184 kB
data/test/content/0140.jpg ADDED

Git LFS Details

  • SHA256: d28b7c1f2da86e60cda138063a96607d91fff6645a0b7a6dda8b4941c92da4c4
  • Pointer size: 131 Bytes
  • Size of remote file: 215 kB
data/test/content/0148.jpg ADDED

Git LFS Details

  • SHA256: c8687bba0b0da42f2d77fbb77f6eccd3f80cac4cd27916c95b4ee075f8023419
  • Pointer size: 131 Bytes
  • Size of remote file: 223 kB
data/test/content/0155.jpg ADDED

Git LFS Details

  • SHA256: 84c73e6ad19caa5ccf6b37be3e62b8f26ea0badb19f7261c217296ea2c292afc
  • Pointer size: 130 Bytes
  • Size of remote file: 75.5 kB
data/test/content/0156.jpg ADDED

Git LFS Details

  • SHA256: cb9f229383ed035e3a9e596d792148617c04c6f6679e08cba5fab7ecf30e01f3
  • Pointer size: 130 Bytes
  • Size of remote file: 67.8 kB
data/test/content/0158.jpg ADDED

Git LFS Details

  • SHA256: 1151e7494b9fc3d04a35c01c23e2b3b70a3affed17cb80c67b7129366037c221
  • Pointer size: 131 Bytes
  • Size of remote file: 107 kB
data/test/content/0174.jpg ADDED

Git LFS Details

  • SHA256: b44c61536eea0fdc27bdb06b75c7fbc0ef3dba6e1a01ace8e3e615edd60777cd
  • Pointer size: 130 Bytes
  • Size of remote file: 96.4 kB
data/test/content/0179.jpg ADDED

Git LFS Details

  • SHA256: a523daef70edb8e0bf8d3b305e9176bb2b0d860e74a0ada8363237960c3070a0
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
data/test/content/0188.jpg ADDED

Git LFS Details

  • SHA256: 5502b5b2d8f73ad184b3b25eea21304472eb8b451f411c102e8d08302d9d695e
  • Pointer size: 131 Bytes
  • Size of remote file: 104 kB
data/test/content/0197.jpg ADDED

Git LFS Details

  • SHA256: a85cbc32ac8c6a56227d5003119871e816b2354e76228d630cc124cfddb7e614
  • Pointer size: 131 Bytes
  • Size of remote file: 118 kB
data/test/content/0199.jpg ADDED

Git LFS Details

  • SHA256: b7e4205943f462c74b864910d10e220d6b10ae0581b24216f66590527bff7340
  • Pointer size: 130 Bytes
  • Size of remote file: 86 kB
data/test/content/0200.jpg ADDED

Git LFS Details

  • SHA256: aad74cf81e52af5431e0ba75887ae11064c3cc1c36d004d790ea4cc09413cbc7
  • Pointer size: 130 Bytes
  • Size of remote file: 91.5 kB
data/test/content/0208.jpg ADDED

Git LFS Details

  • SHA256: 204172f9e07668c842b1870bbb0150359dce57cb8267eafd2c46e3673c4ebe7e
  • Pointer size: 131 Bytes
  • Size of remote file: 123 kB
data/test/content/0214.jpg ADDED

Git LFS Details

  • SHA256: ecb52315b3dc21fae1c3f6923db4ca45d769e688b20575ccaeb27ff045f221e2
  • Pointer size: 131 Bytes
  • Size of remote file: 106 kB
data/test/content/0224.jpg ADDED

Git LFS Details

  • SHA256: 706c44eb766d81a31aefb8dfd8ce04ef8d73a9fff2b4becf1afe48b3809ae61e
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB