jree423 commited on
Commit
de88f01
·
verified ·
1 Parent(s): d8bc27f

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +12 -39
config.json CHANGED
@@ -1,44 +1,17 @@
1
  {
2
- "architectures": ["DiffSketcher"],
3
  "model_type": "diffsketcher",
4
- "task": "text-to-svg",
5
  "framework": "pytorch",
6
- "pipeline_tag": "image-generation",
7
- "library_name": "diffvg",
8
- "tags": [
9
- "svg",
10
- "vector-graphics",
11
- "text-to-image",
12
- "diffusion",
13
- "sketch"
14
  ],
15
- "inference": {
16
- "parameters": {
17
- "num_paths": {
18
- "type": "integer",
19
- "default": 96,
20
- "description": "Number of paths/strokes in the generated SVG"
21
- },
22
- "num_iter": {
23
- "type": "integer",
24
- "default": 500,
25
- "description": "Number of optimization iterations"
26
- },
27
- "token_ind": {
28
- "type": "integer",
29
- "default": 4,
30
- "description": "Index of cross-attention maps to initialize strokes"
31
- },
32
- "guidance_scale": {
33
- "type": "float",
34
- "default": 7.5,
35
- "description": "Guidance scale for diffusion"
36
- },
37
- "canvas_size": {
38
- "type": "integer",
39
- "default": 224,
40
- "description": "Canvas size for SVG generation"
41
- }
42
- }
43
- }
44
  }
 
1
  {
 
2
  "model_type": "diffsketcher",
3
+ "task": "vector-graphics-generation",
4
  "framework": "pytorch",
5
+ "output_format": "svg",
6
+ "input_format": "text",
7
+ "max_paths": 32,
8
+ "default_size": [
9
+ 512,
10
+ 512
 
 
11
  ],
12
+ "styles": [
13
+ "painterly",
14
+ "sketchy",
15
+ "artistic"
16
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }