Sony
/

Image-to-Image
kaz-sony commited on
Commit
f4e215a
·
1 Parent(s): dfead61

Add models

Browse files
LICENSE ADDED
@@ -0,0 +1,538 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This model is licensed under the following terms:
2
+
3
+ 1. Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC 4.0)
4
+
5
+ The content of this model is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC-BY-NC 4.0) license. For detailed license terms, please refer below.
6
+
7
+ 2. CreativeML Open RAIL-M - Use Restrictions
8
+
9
+ The model and its derivatives in this project must comply with the use-based restrictions outlined in the CreativeML Open RAIL-M license. For detailed license terms, please refer below.
10
+
11
+
12
+ ***********************************************************************
13
+
14
+
15
+ Attribution-NonCommercial-ShareAlike 4.0 International
16
+
17
+ =======================================================================
18
+
19
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
20
+ does not provide legal services or legal advice. Distribution of
21
+ Creative Commons public licenses does not create a lawyer-client or
22
+ other relationship. Creative Commons makes its licenses and related
23
+ information available on an "as-is" basis. Creative Commons gives no
24
+ warranties regarding its licenses, any material licensed under their
25
+ terms and conditions, or any related information. Creative Commons
26
+ disclaims all liability for damages resulting from their use to the
27
+ fullest extent possible.
28
+
29
+ Using Creative Commons Public Licenses
30
+
31
+ Creative Commons public licenses provide a standard set of terms and
32
+ conditions that creators and other rights holders may use to share
33
+ original works of authorship and other material subject to copyright
34
+ and certain other rights specified in the public license below. The
35
+ following considerations are for informational purposes only, are not
36
+ exhaustive, and do not form part of our licenses.
37
+
38
+ Considerations for licensors: Our public licenses are
39
+ intended for use by those authorized to give the public
40
+ permission to use material in ways otherwise restricted by
41
+ copyright and certain other rights. Our licenses are
42
+ irrevocable. Licensors should read and understand the terms
43
+ and conditions of the license they choose before applying it.
44
+ Licensors should also secure all rights necessary before
45
+ applying our licenses so that the public can reuse the
46
+ material as expected. Licensors should clearly mark any
47
+ material not subject to the license. This includes other CC-
48
+ licensed material, or material used under an exception or
49
+ limitation to copyright. More considerations for licensors:
50
+ wiki.creativecommons.org/Considerations_for_licensors
51
+
52
+ Considerations for the public: By using one of our public
53
+ licenses, a licensor grants the public permission to use the
54
+ licensed material under specified terms and conditions. If
55
+ the licensor's permission is not necessary for any reason--for
56
+ example, because of any applicable exception or limitation to
57
+ copyright--then that use is not regulated by the license. Our
58
+ licenses grant only permissions under copyright and certain
59
+ other rights that a licensor has authority to grant. Use of
60
+ the licensed material may still be restricted for other
61
+ reasons, including because others have copyright or other
62
+ rights in the material. A licensor may make special requests,
63
+ such as asking that all changes be marked or described.
64
+ Although not required by our licenses, you are encouraged to
65
+ respect those requests where reasonable. More considerations
66
+ for the public:
67
+ wiki.creativecommons.org/Considerations_for_licensees
68
+
69
+ =======================================================================
70
+
71
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
72
+ Public License
73
+
74
+ By exercising the Licensed Rights (defined below), You accept and agree
75
+ to be bound by the terms and conditions of this Creative Commons
76
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
77
+ ("Public License"). To the extent this Public License may be
78
+ interpreted as a contract, You are granted the Licensed Rights in
79
+ consideration of Your acceptance of these terms and conditions, and the
80
+ Licensor grants You such rights in consideration of benefits the
81
+ Licensor receives from making the Licensed Material available under
82
+ these terms and conditions.
83
+
84
+
85
+ Section 1 -- Definitions.
86
+
87
+ a. Adapted Material means material subject to Copyright and Similar
88
+ Rights that is derived from or based upon the Licensed Material
89
+ and in which the Licensed Material is translated, altered,
90
+ arranged, transformed, or otherwise modified in a manner requiring
91
+ permission under the Copyright and Similar Rights held by the
92
+ Licensor. For purposes of this Public License, where the Licensed
93
+ Material is a musical work, performance, or sound recording,
94
+ Adapted Material is always produced where the Licensed Material is
95
+ synched in timed relation with a moving image.
96
+
97
+ b. Adapter's License means the license You apply to Your Copyright
98
+ and Similar Rights in Your contributions to Adapted Material in
99
+ accordance with the terms and conditions of this Public License.
100
+
101
+ c. BY-NC-SA Compatible License means a license listed at
102
+ creativecommons.org/compatiblelicenses, approved by Creative
103
+ Commons as essentially the equivalent of this Public License.
104
+
105
+ d. Copyright and Similar Rights means copyright and/or similar rights
106
+ closely related to copyright including, without limitation,
107
+ performance, broadcast, sound recording, and Sui Generis Database
108
+ Rights, without regard to how the rights are labeled or
109
+ categorized. For purposes of this Public License, the rights
110
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
111
+ Rights.
112
+
113
+ e. Effective Technological Measures means those measures that, in the
114
+ absence of proper authority, may not be circumvented under laws
115
+ fulfilling obligations under Article 11 of the WIPO Copyright
116
+ Treaty adopted on December 20, 1996, and/or similar international
117
+ agreements.
118
+
119
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
120
+ any other exception or limitation to Copyright and Similar Rights
121
+ that applies to Your use of the Licensed Material.
122
+
123
+ g. License Elements means the license attributes listed in the name
124
+ of a Creative Commons Public License. The License Elements of this
125
+ Public License are Attribution, NonCommercial, and ShareAlike.
126
+
127
+ h. Licensed Material means the artistic or literary work, database,
128
+ or other material to which the Licensor applied this Public
129
+ License.
130
+
131
+ i. Licensed Rights means the rights granted to You subject to the
132
+ terms and conditions of this Public License, which are limited to
133
+ all Copyright and Similar Rights that apply to Your use of the
134
+ Licensed Material and that the Licensor has authority to license.
135
+
136
+ j. Licensor means the individual(s) or entity(ies) granting rights
137
+ under this Public License.
138
+
139
+ k. NonCommercial means not primarily intended for or directed towards
140
+ commercial advantage or monetary compensation. For purposes of
141
+ this Public License, the exchange of the Licensed Material for
142
+ other material subject to Copyright and Similar Rights by digital
143
+ file-sharing or similar means is NonCommercial provided there is
144
+ no payment of monetary compensation in connection with the
145
+ exchange.
146
+
147
+ l. Share means to provide material to the public by any means or
148
+ process that requires permission under the Licensed Rights, such
149
+ as reproduction, public display, public performance, distribution,
150
+ dissemination, communication, or importation, and to make material
151
+ available to the public including in ways that members of the
152
+ public may access the material from a place and at a time
153
+ individually chosen by them.
154
+
155
+ m. Sui Generis Database Rights means rights other than copyright
156
+ resulting from Directive 96/9/EC of the European Parliament and of
157
+ the Council of 11 March 1996 on the legal protection of databases,
158
+ as amended and/or succeeded, as well as other essentially
159
+ equivalent rights anywhere in the world.
160
+
161
+ n. You means the individual or entity exercising the Licensed Rights
162
+ under this Public License. Your has a corresponding meaning.
163
+
164
+
165
+ Section 2 -- Scope.
166
+
167
+ a. License grant.
168
+
169
+ 1. Subject to the terms and conditions of this Public License,
170
+ the Licensor hereby grants You a worldwide, royalty-free,
171
+ non-sublicensable, non-exclusive, irrevocable license to
172
+ exercise the Licensed Rights in the Licensed Material to:
173
+
174
+ a. reproduce and Share the Licensed Material, in whole or
175
+ in part, for NonCommercial purposes only; and
176
+
177
+ b. produce, reproduce, and Share Adapted Material for
178
+ NonCommercial purposes only.
179
+
180
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
181
+ Exceptions and Limitations apply to Your use, this Public
182
+ License does not apply, and You do not need to comply with
183
+ its terms and conditions.
184
+
185
+ 3. Term. The term of this Public License is specified in Section
186
+ 6(a).
187
+
188
+ 4. Media and formats; technical modifications allowed. The
189
+ Licensor authorizes You to exercise the Licensed Rights in
190
+ all media and formats whether now known or hereafter created,
191
+ and to make technical modifications necessary to do so. The
192
+ Licensor waives and/or agrees not to assert any right or
193
+ authority to forbid You from making technical modifications
194
+ necessary to exercise the Licensed Rights, including
195
+ technical modifications necessary to circumvent Effective
196
+ Technological Measures. For purposes of this Public License,
197
+ simply making modifications authorized by this Section 2(a)
198
+ (4) never produces Adapted Material.
199
+
200
+ 5. Downstream recipients.
201
+
202
+ a. Offer from the Licensor -- Licensed Material. Every
203
+ recipient of the Licensed Material automatically
204
+ receives an offer from the Licensor to exercise the
205
+ Licensed Rights under the terms and conditions of this
206
+ Public License.
207
+
208
+ b. Additional offer from the Licensor -- Adapted Material.
209
+ Every recipient of Adapted Material from You
210
+ automatically receives an offer from the Licensor to
211
+ exercise the Licensed Rights in the Adapted Material
212
+ under the conditions of the Adapter's License You apply.
213
+
214
+ c. No downstream restrictions. You may not offer or impose
215
+ any additional or different terms or conditions on, or
216
+ apply any Effective Technological Measures to, the
217
+ Licensed Material if doing so restricts exercise of the
218
+ Licensed Rights by any recipient of the Licensed
219
+ Material.
220
+
221
+ 6. No endorsement. Nothing in this Public License constitutes or
222
+ may be construed as permission to assert or imply that You
223
+ are, or that Your use of the Licensed Material is, connected
224
+ with, or sponsored, endorsed, or granted official status by,
225
+ the Licensor or others designated to receive attribution as
226
+ provided in Section 3(a)(1)(A)(i).
227
+
228
+ b. Other rights.
229
+
230
+ 1. Moral rights, such as the right of integrity, are not
231
+ licensed under this Public License, nor are publicity,
232
+ privacy, and/or other similar personality rights; however, to
233
+ the extent possible, the Licensor waives and/or agrees not to
234
+ assert any such rights held by the Licensor to the limited
235
+ extent necessary to allow You to exercise the Licensed
236
+ Rights, but not otherwise.
237
+
238
+ 2. Patent and trademark rights are not licensed under this
239
+ Public License.
240
+
241
+ 3. To the extent possible, the Licensor waives any right to
242
+ collect royalties from You for the exercise of the Licensed
243
+ Rights, whether directly or through a collecting society
244
+ under any voluntary or waivable statutory or compulsory
245
+ licensing scheme. In all other cases the Licensor expressly
246
+ reserves any right to collect such royalties, including when
247
+ the Licensed Material is used other than for NonCommercial
248
+ purposes.
249
+
250
+
251
+ Section 3 -- License Conditions.
252
+
253
+ Your exercise of the Licensed Rights is expressly made subject to the
254
+ following conditions.
255
+
256
+ a. Attribution.
257
+
258
+ 1. If You Share the Licensed Material (including in modified
259
+ form), You must:
260
+
261
+ a. retain the following if it is supplied by the Licensor
262
+ with the Licensed Material:
263
+
264
+ i. identification of the creator(s) of the Licensed
265
+ Material and any others designated to receive
266
+ attribution, in any reasonable manner requested by
267
+ the Licensor (including by pseudonym if
268
+ designated);
269
+
270
+ ii. a copyright notice;
271
+
272
+ iii. a notice that refers to this Public License;
273
+
274
+ iv. a notice that refers to the disclaimer of
275
+ warranties;
276
+
277
+ v. a URI or hyperlink to the Licensed Material to the
278
+ extent reasonably practicable;
279
+
280
+ b. indicate if You modified the Licensed Material and
281
+ retain an indication of any previous modifications; and
282
+
283
+ c. indicate the Licensed Material is licensed under this
284
+ Public License, and include the text of, or the URI or
285
+ hyperlink to, this Public License.
286
+
287
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
288
+ reasonable manner based on the medium, means, and context in
289
+ which You Share the Licensed Material. For example, it may be
290
+ reasonable to satisfy the conditions by providing a URI or
291
+ hyperlink to a resource that includes the required
292
+ information.
293
+ 3. If requested by the Licensor, You must remove any of the
294
+ information required by Section 3(a)(1)(A) to the extent
295
+ reasonably practicable.
296
+
297
+ b. ShareAlike.
298
+
299
+ In addition to the conditions in Section 3(a), if You Share
300
+ Adapted Material You produce, the following conditions also apply.
301
+
302
+ 1. The Adapter's License You apply must be a Creative Commons
303
+ license with the same License Elements, this version or
304
+ later, or a BY-NC-SA Compatible License.
305
+
306
+ 2. You must include the text of, or the URI or hyperlink to, the
307
+ Adapter's License You apply. You may satisfy this condition
308
+ in any reasonable manner based on the medium, means, and
309
+ context in which You Share Adapted Material.
310
+
311
+ 3. You may not offer or impose any additional or different terms
312
+ or conditions on, or apply any Effective Technological
313
+ Measures to, Adapted Material that restrict exercise of the
314
+ rights granted under the Adapter's License You apply.
315
+
316
+
317
+ Section 4 -- Sui Generis Database Rights.
318
+
319
+ Where the Licensed Rights include Sui Generis Database Rights that
320
+ apply to Your use of the Licensed Material:
321
+
322
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
323
+ to extract, reuse, reproduce, and Share all or a substantial
324
+ portion of the contents of the database for NonCommercial purposes
325
+ only;
326
+
327
+ b. if You include all or a substantial portion of the database
328
+ contents in a database in which You have Sui Generis Database
329
+ Rights, then the database in which You have Sui Generis Database
330
+ Rights (but not its individual contents) is Adapted Material,
331
+ including for purposes of Section 3(b); and
332
+
333
+ c. You must comply with the conditions in Section 3(a) if You Share
334
+ all or a substantial portion of the contents of the database.
335
+
336
+ For the avoidance of doubt, this Section 4 supplements and does not
337
+ replace Your obligations under this Public License where the Licensed
338
+ Rights include other Copyright and Similar Rights.
339
+
340
+
341
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
342
+
343
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
344
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
345
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
346
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
347
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
348
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
349
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
350
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
351
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
352
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
353
+
354
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
355
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
356
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
357
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
358
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
359
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
360
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
361
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
362
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
363
+
364
+ c. The disclaimer of warranties and limitation of liability provided
365
+ above shall be interpreted in a manner that, to the extent
366
+ possible, most closely approximates an absolute disclaimer and
367
+ waiver of all liability.
368
+
369
+
370
+ Section 6 -- Term and Termination.
371
+
372
+ a. This Public License applies for the term of the Copyright and
373
+ Similar Rights licensed here. However, if You fail to comply with
374
+ this Public License, then Your rights under this Public License
375
+ terminate automatically.
376
+
377
+ b. Where Your right to use the Licensed Material has terminated under
378
+ Section 6(a), it reinstates:
379
+
380
+ 1. automatically as of the date the violation is cured, provided
381
+ it is cured within 30 days of Your discovery of the
382
+ violation; or
383
+
384
+ 2. upon express reinstatement by the Licensor.
385
+
386
+ For the avoidance of doubt, this Section 6(b) does not affect any
387
+ right the Licensor may have to seek remedies for Your violations
388
+ of this Public License.
389
+
390
+ c. For the avoidance of doubt, the Licensor may also offer the
391
+ Licensed Material under separate terms or conditions or stop
392
+ distributing the Licensed Material at any time; however, doing so
393
+ will not terminate this Public License.
394
+
395
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
396
+ License.
397
+
398
+
399
+ Section 7 -- Other Terms and Conditions.
400
+
401
+ a. The Licensor shall not be bound by any additional or different
402
+ terms or conditions communicated by You unless expressly agreed.
403
+
404
+ b. Any arrangements, understandings, or agreements regarding the
405
+ Licensed Material not stated herein are separate from and
406
+ independent of the terms and conditions of this Public License.
407
+
408
+
409
+ Section 8 -- Interpretation.
410
+
411
+ a. For the avoidance of doubt, this Public License does not, and
412
+ shall not be interpreted to, reduce, limit, restrict, or impose
413
+ conditions on any use of the Licensed Material that could lawfully
414
+ be made without permission under this Public License.
415
+
416
+ b. To the extent possible, if any provision of this Public License is
417
+ deemed unenforceable, it shall be automatically reformed to the
418
+ minimum extent necessary to make it enforceable. If the provision
419
+ cannot be reformed, it shall be severed from this Public License
420
+ without affecting the enforceability of the remaining terms and
421
+ conditions.
422
+
423
+ c. No term or condition of this Public License will be waived and no
424
+ failure to comply consented to unless expressly agreed to by the
425
+ Licensor.
426
+
427
+ d. Nothing in this Public License constitutes or may be interpreted
428
+ as a limitation upon, or waiver of, any privileges and immunities
429
+ that apply to the Licensor or You, including from the legal
430
+ processes of any jurisdiction or authority.
431
+
432
+ =======================================================================
433
+
434
+ Creative Commons is not a party to its public
435
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
436
+ its public licenses to material it publishes and in those instances
437
+ will be considered the “Licensor.” The text of the Creative Commons
438
+ public licenses is dedicated to the public domain under the CC0 Public
439
+ Domain Dedication. Except for the limited purpose of indicating that
440
+ material is shared under a Creative Commons public license or as
441
+ otherwise permitted by the Creative Commons policies published at
442
+ creativecommons.org/policies, Creative Commons does not authorize the
443
+ use of the trademark "Creative Commons" or any other trademark or logo
444
+ of Creative Commons without its prior written consent including,
445
+ without limitation, in connection with any unauthorized modifications
446
+ to any of its public licenses or any other arrangements,
447
+ understandings, or agreements concerning use of licensed material. For
448
+ the avoidance of doubt, this paragraph does not form part of the
449
+ public licenses.
450
+
451
+ Creative Commons may be contacted at creativecommons.org.
452
+
453
+
454
+ ***********************************************************************
455
+
456
+
457
+ Copyright (c) 2022 Robin Rombach and Patrick Esser and contributors
458
+
459
+ CreativeML Open RAIL-M
460
+ dated August 22, 2022
461
+
462
+ Section I: PREAMBLE
463
+
464
+ Multimodal generative models are being widely adopted and used, and have the potential to transform the way artists, among other individuals, conceive and benefit from AI or ML technologies as a tool for content creation.
465
+
466
+ Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations.
467
+
468
+ In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the Model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for art and content generation.
469
+
470
+ Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this License aims to strike a balance between both in order to enable responsible open-science in the field of AI.
471
+
472
+ This License governs the use of the model (and its derivatives) and is informed by the model card associated with the model.
473
+
474
+ NOW THEREFORE, You and Licensor agree as follows:
475
+
476
+ 1. Definitions
477
+
478
+ - "License" means the terms and conditions for use, reproduction, and Distribution as defined in this document.
479
+ - "Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.
480
+ - "Output" means the results of operating a Model as embodied in informational content resulting therefrom.
481
+ - "Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material.
482
+ - "Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model.
483
+ - "Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any.
484
+ - "Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access.
485
+ - "Licensor" means the copyright owner or entity authorized by the copyright owner that is granting the License, including the persons or entities that may have rights in the Model and/or distributing the Model.
486
+ - "You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, image generator.
487
+ - "Third Parties" means individuals or legal entities that are not under common control with Licensor or You.
488
+ - "Contribution" means any work of authorship, including the original version of the Model and any modifications or additions to that Model or Derivatives of the Model thereof, that is intentionally submitted to Licensor for inclusion in the Model by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Model, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
489
+ - "Contributor" means Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Model.
490
+
491
+ Section II: INTELLECTUAL PROPERTY RIGHTS
492
+
493
+ Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in Section III.
494
+
495
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model.
496
+ 3. Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Model to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material or a Contribution incorporated within the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or Work shall terminate as of the date such litigation is asserted or filed.
497
+
498
+ Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
499
+
500
+ 4. Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions:
501
+ Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material.
502
+ You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License;
503
+ You must cause any modified files to carry prominent notices stating that You changed the files;
504
+ You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model.
505
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. - for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License.
506
+ 5. Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5).
507
+ 6. The Output You Generate. Except as set forth herein, Licensor claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License.
508
+
509
+ Section IV: OTHER PROVISIONS
510
+
511
+ 7. Updates and Runtime Restrictions. To the maximum extent permitted by law, Licensor reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License, update the Model through electronic means, or modify the Output of the Model based on updates. You shall undertake reasonable efforts to use the latest version of the Model.
512
+ 8. Trademarks and related. Nothing in this License permits You to make use of Licensors’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by the Licensors.
513
+ 9. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Model and the Complementary Material (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License.
514
+ 10. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
515
+ 11. Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
516
+ 12. If any provision of this License is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein.
517
+
518
+ END OF TERMS AND CONDITIONS
519
+
520
+
521
+
522
+
523
+ Attachment A
524
+
525
+ Use Restrictions
526
+
527
+ You agree not to use the Model or Derivatives of the Model:
528
+ - In any way that violates any applicable national, federal, state, local or international law or regulation;
529
+ - For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
530
+ - To generate or disseminate verifiably false information and/or content with the purpose of harming others;
531
+ - To generate or disseminate personal identifiable information that can be used to harm an individual;
532
+ - To defame, disparage or otherwise harass others;
533
+ - For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
534
+ - For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
535
+ - To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
536
+ - For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories;
537
+ - To provide medical advice and medical results interpretation;
538
+ - To generate or disseminate information for the purpose to be used for administration of justice, law enforcement, immigration or asylum processes, such as predicting an individual will commit fraud/crime commitment (e.g. by text profiling, drawing causal relationships between assertions made in documents, indiscriminate and arbitrarily-targeted use).
README.md CHANGED
@@ -1,3 +1,94 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ pipeline_tag: image-to-image
4
+ ---
5
+
6
+ # Genwarp Model Card
7
+
8
+ Genwarp models are the official checkpoints for ther paper "[GenWarp: Single Image to Novel Views with Semantic-Preserving Generative Warping](https://genwarp-nvs.github.io/)". Genwarp can generate novel view images from a single input conditioned on camera poses. In this repository, we offer the codes for inference of the model. For detailed information, please refer to the [paper](https://arxiv.org/abs/2405.17251).
9
+
10
+ ## Model Details
11
+
12
+ ### Model Description
13
+
14
+ - **Finetuned from model:** [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5)
15
+ - **License:** Creative Commons Attribution-NonCommercial 4.0 International ([CC-BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)) and [CreativeML Open RAIL-M](https://huggingface.co/spaces/CompVis/stable-diffusion-license) for Use Restrictions. See [LICENSE](LICENSE) for more details.
16
+
17
+ ### Model Sources
18
+
19
+ - **Repositosy:** [GitHub](https://github.com/sony/genwarp)
20
+ - **Paper:** [arXiv](https://arxiv.org/abs/2405.17251)
21
+
22
+ ### Variations
23
+
24
+ - **multi1:** datasets used are RealEstate10K, ACID, and ScanNet
25
+ - **multi2:** datasets used are RealEstate10K, ACID, ScanNet, and MegaScene v1.0
26
+ - See Training section for more details.
27
+
28
+ ## Uses
29
+
30
+ ## Direct Use
31
+ The model is intended for research purposes only. Possible research areas and tasks include
32
+
33
+ - Safe deployment of models which have the potential to generate harmful content.
34
+ - Probing and understanding the limitations and biases of generative models.
35
+ - Generation of artworks and use in design and other artistic processes.
36
+ - Research on generative models.
37
+
38
+ Excluded uses are described below.
39
+
40
+ ### Misuse, Malicious Use, and Out-of-Scope Use
41
+ _Note: This section is taken from the [CreativeML Open RAIL-M](https://huggingface.co/spaces/CompVis/stable-diffusion-license) Genwarp models_.
42
+
43
+ Use Restrictions
44
+
45
+ You agree not to use the Model or Derivatives of the Model:
46
+ - In any way that violates any applicable national, federal, state, local or international law or regulation;
47
+ - For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
48
+ - To generate or disseminate verifiably false information and/or content with the purpose of harming others;
49
+ - To generate or disseminate personal identifiable information that can be used to harm an individual;
50
+ - To defame, disparage or otherwise harass others;
51
+ - For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
52
+ - For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
53
+ - To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
54
+ - For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories;
55
+ - To provide medical advice and medical results interpretation;
56
+ - To generate or disseminate information for the purpose to be used for administration of justice, law enforcement, immigration or asylum processes, such as predicting an individual will commit fraud/crime commitment (e.g. by text profiling, drawing causal relationships between assertions made in documents, indiscriminate and arbitrarily-targeted use).
57
+
58
+ ## How to Get Started with the Model
59
+
60
+ For use-cases and examples, follow the instructions [here](https://github.com/sony/genwarp)
61
+
62
+ ## Training Detalis
63
+
64
+ **Training Data**
65
+ The model developers used the following dataset for training the model:
66
+
67
+ - [RealEstate10K](https://google.github.io/realestate10k/index.html) ([CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/))
68
+ - [Aerial Coastline Imagery Dataset (ACID)](https://infinite-nature.github.io/)
69
+ - [ScanNet](https://github.com/ScanNet/ScanNet) ([ScanNet Terms of Use](https://kaldir.vc.in.tum.de/scannet/ScanNet_TOS.pdf))
70
+ - [MegaScene v1.0](https://github.com/MegaScenes/dataset) ([CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/))
71
+
72
+ **Training Procedure**
73
+
74
+ Genwarp models are finetuned based on [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5).
75
+
76
+ For more details, please refer to the [paper](https://arxiv.org/abs/2405.17251).
77
+
78
+ ## Evaluation Results
79
+
80
+ Please refer to the [paper](https://arxiv.org/abs/2405.17251).
81
+
82
+ ## Citation
83
+
84
+ ```bibtex
85
+ @misc{seo2024genwarpsingleimagenovel,
86
+ title={GenWarp: Single Image to Novel Views with Semantic-Preserving Generative Warping},
87
+ author={Junyoung Seo and Kazumi Fukuda and Takashi Shibuya and Takuya Narihira and Naoki Murata and Shoukang Hu and Chieh-Hsin Lai and Seungryong Kim and Yuki Mitsufuji},
88
+ year={2024},
89
+ eprint={2405.17251},
90
+ archivePrefix={arXiv},
91
+ primaryClass={cs.CV},
92
+ url={https://arxiv.org/abs/2405.17251},
93
+ }
94
+ ```
multi1/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.6.0",
4
+ "act_fn": "silu",
5
+ "attention_head_dim": 8,
6
+ "block_out_channels": [
7
+ 320,
8
+ 640,
9
+ 1280,
10
+ 1280
11
+ ],
12
+ "center_input_sample": false,
13
+ "cross_attention_dim": 768,
14
+ "down_block_types": [
15
+ "CrossAttnDownBlock2D",
16
+ "CrossAttnDownBlock2D",
17
+ "CrossAttnDownBlock2D",
18
+ "DownBlock2D"
19
+ ],
20
+ "downsample_padding": 1,
21
+ "flip_sin_to_cos": true,
22
+ "freq_shift": 0,
23
+ "in_channels": 4,
24
+ "layers_per_block": 2,
25
+ "mid_block_scale_factor": 1,
26
+ "norm_eps": 1e-05,
27
+ "norm_num_groups": 32,
28
+ "out_channels": 4,
29
+ "sample_size": 64,
30
+ "up_block_types": [
31
+ "UpBlock2D",
32
+ "CrossAttnUpBlock2D",
33
+ "CrossAttnUpBlock2D",
34
+ "CrossAttnUpBlock2D"
35
+ ]
36
+ }
multi1/denoising_unet.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ba4f1594c3451718b369d48a91bcc1e5a3eb5161623c3da785e901db5b84bea
3
+ size 3438375442
multi1/pose_guider.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:963ade5e516892152a4aac11bbc50ee2d45936eea88979d9bc97c0bc1c5ce2bd
3
+ size 2070082
multi1/reference_unet.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d64c7b09cf087a81c2a2c6a39c9643701cd546cb35f2d8dd11a4a151ae6b4b0d
3
+ size 3438325026
multi2/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.6.0",
4
+ "act_fn": "silu",
5
+ "attention_head_dim": 8,
6
+ "block_out_channels": [
7
+ 320,
8
+ 640,
9
+ 1280,
10
+ 1280
11
+ ],
12
+ "center_input_sample": false,
13
+ "cross_attention_dim": 768,
14
+ "down_block_types": [
15
+ "CrossAttnDownBlock2D",
16
+ "CrossAttnDownBlock2D",
17
+ "CrossAttnDownBlock2D",
18
+ "DownBlock2D"
19
+ ],
20
+ "downsample_padding": 1,
21
+ "flip_sin_to_cos": true,
22
+ "freq_shift": 0,
23
+ "in_channels": 4,
24
+ "layers_per_block": 2,
25
+ "mid_block_scale_factor": 1,
26
+ "norm_eps": 1e-05,
27
+ "norm_num_groups": 32,
28
+ "out_channels": 4,
29
+ "sample_size": 64,
30
+ "up_block_types": [
31
+ "UpBlock2D",
32
+ "CrossAttnUpBlock2D",
33
+ "CrossAttnUpBlock2D",
34
+ "CrossAttnUpBlock2D"
35
+ ]
36
+ }
multi2/denoising_unet.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dbe8430b8570a061faaf64c0be67bcafc458dd51d0acf6d8e41a4ade834fdea
3
+ size 3438375442
multi2/pose_guider.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5e5c2bfdbecfedb26f06fe1c642276029c23bfc65d338e225d3a4ac3aa98cbf
3
+ size 2070082
multi2/reference_unet.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:681a9215068b02562b5d16712d7c049e244c9718bbfc82a25a949951b68c60eb
3
+ size 3438325026