Chuatury commited on
Commit
dbe7f08
·
verified ·
1 Parent(s): b7e967d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: image-to-image
3
+ tags:
4
+ - lama
5
+ - inpaint
6
+ - inpainting
7
+ ---
8
+
9
+ Torch JIT compiled [LaMa](https://github.com/advimman/lama) models, use without friction.
10
+ Inspired by [IOPaint](https://github.com/Sanster/IOPaint/) and all models here are compatible with IOPaint.
11
+
12
+ ```
13
+ Args:
14
+ image: [B, C, H, W] - RGB image
15
+ mask: [B, 1, H, W] - Binary mask (1 = inpaint region, 0 = keep)
16
+ Returns:
17
+ [B, C, H, W] - RGB image
18
+ ```
19
+
20
+ License of [dreMaz/AnimeMangaInpainting](https://huggingface.co/dreMaz/AnimeMangaInpainting/), a fine-tune of big-lama for anime/manga images.
21
+ ```
22
+ MIT License
23
+
24
+ Copyright (c) [year] [fullname]
25
+
26
+ Permission is hereby granted, free of charge, to any person obtaining a copy
27
+ of this software and associated documentation files (the "Software"), to deal
28
+ in the Software without restriction, including without limitation the rights
29
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
+ copies of the Software, and to permit persons to whom the Software is
31
+ furnished to do so, subject to the following conditions:
32
+
33
+ The above copyright notice and this permission notice shall be included in all
34
+ copies or substantial portions of the Software.
35
+
36
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42
+ SOFTWARE.
43
+ ```