dylanebert HF staff commited on
Commit
8069e38
·
1 Parent(s): 1e185c9

pipeline information, remove empty models

Browse files
viewer/src/lib/data/scenes.json CHANGED
@@ -3,98 +3,158 @@
3
  "slug": "sync-dreamer-armor",
4
  "model": "sync-dreamer",
5
  "title": "armor",
6
- "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/armor.glb"
 
 
 
 
7
  },
8
  {
9
  "slug": "sync-dreamer-deer",
10
  "model": "sync-dreamer",
11
  "title": "deer",
12
- "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/deer.glb"
 
 
 
 
13
  },
14
  {
15
  "slug": "sync-dreamer-drum",
16
  "model": "sync-dreamer",
17
  "title": "drum",
18
- "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/drum.glb"
 
 
 
 
19
  },
20
  {
21
  "slug": "sync-dreamer-forest",
22
  "model": "sync-dreamer",
23
  "title": "forest",
24
- "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/forest.glb"
 
 
 
 
25
  },
26
  {
27
  "slug": "sync-dreamer-monkey",
28
  "model": "sync-dreamer",
29
  "title": "monkey",
30
- "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/monkey.glb"
 
 
 
 
31
  },
32
  {
33
  "slug": "sync-dreamer-poro",
34
  "model": "sync-dreamer",
35
  "title": "poro",
36
- "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/poro.glb"
 
 
 
 
37
  },
38
  {
39
  "slug": "sync-dreamer-train",
40
  "model": "sync-dreamer",
41
  "title": "train",
42
- "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/train.glb"
 
 
 
 
43
  },
44
  {
45
  "slug": "dreamfusion-sweaterfrog",
46
  "model": "dreamfusion",
47
  "title": "sweater frog",
48
  "url": "https://dreamfusion3d.github.io/assets/meshes2/sweaterfrog_1step.glb",
49
- "prompt": "frog wearing a sweater"
 
 
 
 
50
  },
51
  {
52
  "slug": "dreamfusion-chick",
53
  "model": "dreamfusion",
54
  "title": "chick",
55
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44855521_sept18_hero16_047a_DSLR_photo_of_an_eggshell_broken_in_two_with_an_adorable_chick_standing_next_to_it_1step.glb",
56
- "prompt": "eggshell broken in two with an adorable chick standing next to it"
 
 
 
 
57
  },
58
  {
59
  "slug": "dreamfusion-ghost",
60
  "model": "dreamfusion",
61
  "title": "ghost",
62
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44934035_sept18_hero19_113a_DSLR_photo_of_a_ghost_eating_a_hamburger_1step.glb",
63
- "prompt": "ghost eating a hamburger"
 
 
 
 
64
  },
65
  {
66
  "slug": "dreamfusion-pig",
67
  "model": "dreamfusion",
68
  "title": "pig",
69
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44844973_sept18_hero14_076a_pig_wearing_a_backpack_1step.glb",
70
- "prompt": "a pig wearing a backback"
 
 
 
 
71
  },
72
  {
73
  "slug": "dreamfusion-eagle",
74
  "model": "dreamfusion",
75
  "title": "eagle",
76
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44853505_sept18_hero15_145a_bald_eagle_carved_out_of_wood_1step.glb",
77
- "prompt": "a bald eagle carved out of wood"
 
 
 
 
78
  },
79
  {
80
  "slug": "dreamfusion-crab",
81
  "model": "dreamfusion",
82
  "title": "crab",
83
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44930695_sept18_hero18_103a_crab,_low_poly_1step.glb",
84
- "prompt": "a crab, low poly"
 
 
 
 
85
  },
86
  {
87
  "slug": "dreamfusion-lemur",
88
  "model": "dreamfusion",
89
  "title": "lemur",
90
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44853505_sept18_hero15_124a_lemur_taking_notes_in_a_journal_1step.glb",
91
- "prompt": "a lemur taking notes in a journal"
 
 
 
 
92
  },
93
  {
94
  "slug": "dreamfusion-corgi",
95
  "model": "dreamfusion",
96
  "title": "corgi",
97
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44960400_sept18_hero20peter_117a_plush_toy_of_a_corgi_nurse_1step.glb",
98
- "prompt": "a plush toy of a corgi nurse"
 
 
 
 
99
  }
100
  ]
 
3
  "slug": "sync-dreamer-armor",
4
  "model": "sync-dreamer",
5
  "title": "armor",
6
+ "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/armor.glb",
7
+ "pipeline": [
8
+ "Multi-view Diffusion",
9
+ "NeuS"
10
+ ]
11
  },
12
  {
13
  "slug": "sync-dreamer-deer",
14
  "model": "sync-dreamer",
15
  "title": "deer",
16
+ "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/deer.glb",
17
+ "pipeline": [
18
+ "Multi-view Diffusion",
19
+ "NeuS"
20
+ ]
21
  },
22
  {
23
  "slug": "sync-dreamer-drum",
24
  "model": "sync-dreamer",
25
  "title": "drum",
26
+ "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/drum.glb",
27
+ "pipeline": [
28
+ "Multi-view Diffusion",
29
+ "NeuS"
30
+ ]
31
  },
32
  {
33
  "slug": "sync-dreamer-forest",
34
  "model": "sync-dreamer",
35
  "title": "forest",
36
+ "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/forest.glb",
37
+ "pipeline": [
38
+ "Multi-view Diffusion",
39
+ "NeuS"
40
+ ]
41
  },
42
  {
43
  "slug": "sync-dreamer-monkey",
44
  "model": "sync-dreamer",
45
  "title": "monkey",
46
+ "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/monkey.glb",
47
+ "pipeline": [
48
+ "Multi-view Diffusion",
49
+ "NeuS"
50
+ ]
51
  },
52
  {
53
  "slug": "sync-dreamer-poro",
54
  "model": "sync-dreamer",
55
  "title": "poro",
56
+ "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/poro.glb",
57
+ "pipeline": [
58
+ "Multi-view Diffusion",
59
+ "NeuS"
60
+ ]
61
  },
62
  {
63
  "slug": "sync-dreamer-train",
64
  "model": "sync-dreamer",
65
  "title": "train",
66
+ "url": "https://huggingface.co/datasets/dylanebert/igf-results/resolve/main/sync-dreamer/train.glb",
67
+ "pipeline": [
68
+ "Multi-view Diffusion",
69
+ "NeuS"
70
+ ]
71
  },
72
  {
73
  "slug": "dreamfusion-sweaterfrog",
74
  "model": "dreamfusion",
75
  "title": "sweater frog",
76
  "url": "https://dreamfusion3d.github.io/assets/meshes2/sweaterfrog_1step.glb",
77
+ "prompt": "frog wearing a sweater",
78
+ "pipeline": [
79
+ "Multi-view Diffusion",
80
+ "NeuS"
81
+ ]
82
  },
83
  {
84
  "slug": "dreamfusion-chick",
85
  "model": "dreamfusion",
86
  "title": "chick",
87
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44855521_sept18_hero16_047a_DSLR_photo_of_an_eggshell_broken_in_two_with_an_adorable_chick_standing_next_to_it_1step.glb",
88
+ "prompt": "eggshell broken in two with an adorable chick standing next to it",
89
+ "pipeline": [
90
+ "Multi-view Diffusion",
91
+ "Marching Cubes"
92
+ ]
93
  },
94
  {
95
  "slug": "dreamfusion-ghost",
96
  "model": "dreamfusion",
97
  "title": "ghost",
98
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44934035_sept18_hero19_113a_DSLR_photo_of_a_ghost_eating_a_hamburger_1step.glb",
99
+ "prompt": "ghost eating a hamburger",
100
+ "pipeline": [
101
+ "Multi-view Diffusion",
102
+ "Marching Cubes"
103
+ ]
104
  },
105
  {
106
  "slug": "dreamfusion-pig",
107
  "model": "dreamfusion",
108
  "title": "pig",
109
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44844973_sept18_hero14_076a_pig_wearing_a_backpack_1step.glb",
110
+ "prompt": "a pig wearing a backback",
111
+ "pipeline": [
112
+ "Multi-view Diffusion",
113
+ "Marching Cubes"
114
+ ]
115
  },
116
  {
117
  "slug": "dreamfusion-eagle",
118
  "model": "dreamfusion",
119
  "title": "eagle",
120
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44853505_sept18_hero15_145a_bald_eagle_carved_out_of_wood_1step.glb",
121
+ "prompt": "a bald eagle carved out of wood",
122
+ "pipeline": [
123
+ "Multi-view Diffusion",
124
+ "Marching Cubes"
125
+ ]
126
  },
127
  {
128
  "slug": "dreamfusion-crab",
129
  "model": "dreamfusion",
130
  "title": "crab",
131
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44930695_sept18_hero18_103a_crab,_low_poly_1step.glb",
132
+ "prompt": "a crab, low poly",
133
+ "pipeline": [
134
+ "Multi-view Diffusion",
135
+ "Marching Cubes"
136
+ ]
137
  },
138
  {
139
  "slug": "dreamfusion-lemur",
140
  "model": "dreamfusion",
141
  "title": "lemur",
142
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44853505_sept18_hero15_124a_lemur_taking_notes_in_a_journal_1step.glb",
143
+ "prompt": "a lemur taking notes in a journal",
144
+ "pipeline": [
145
+ "Multi-view Diffusion",
146
+ "Marching Cubes"
147
+ ]
148
  },
149
  {
150
  "slug": "dreamfusion-corgi",
151
  "model": "dreamfusion",
152
  "title": "corgi",
153
  "url": "https://dreamfusion3d.github.io/assets/meshes2/44960400_sept18_hero20peter_117a_plush_toy_of_a_corgi_nurse_1step.glb",
154
+ "prompt": "a plush toy of a corgi nurse",
155
+ "pipeline": [
156
+ "Multi-view Diffusion",
157
+ "Marching Cubes"
158
+ ]
159
  }
160
  ]
viewer/src/routes/components/ModelsView.svelte CHANGED
@@ -27,14 +27,16 @@
27
 
28
  <div class="grid">
29
  {#each models as model}
30
- <a href={`/models/${model.slug}`} class="grid-item">
31
- <img
32
- src={`/thumbnails/${sceneMap[model.slug]}.png`}
33
- alt={model.title}
34
- class="thumbnail"
35
- on:error={(event) => handleImageError(event)}
36
- />
37
- <div class="title">{model.title}</div>
38
- </a>
 
 
39
  {/each}
40
  </div>
 
27
 
28
  <div class="grid">
29
  {#each models as model}
30
+ {#if sceneMap[model.slug] !== undefined}
31
+ <a href={`/models/${model.slug}`} class="grid-item">
32
+ <img
33
+ src={`/thumbnails/${sceneMap[model.slug]}.png`}
34
+ alt={model.title}
35
+ class="thumbnail"
36
+ on:error={(event) => handleImageError(event)}
37
+ />
38
+ <div class="title">{model.title}</div>
39
+ </a>
40
+ {/if}
41
  {/each}
42
  </div>
viewer/src/routes/models/[slug]/+page.server.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { error } from "@sveltejs/kit";
2
  import { getModels, getScenes } from "$lib/dataLoader";
3
 
4
  export async function load({ params }) {
 
 
1
  import { getModels, getScenes } from "$lib/dataLoader";
2
 
3
  export async function load({ params }) {
viewer/src/routes/viewer/[slug]/+page.svelte CHANGED
@@ -10,6 +10,7 @@
10
  model: string;
11
  url: string;
12
  prompt: string;
 
13
  };
14
  model: {
15
  title: string;
@@ -121,7 +122,7 @@
121
  light.diffuse = new BABYLON.Color3(1, 1, 1);
122
  light.groundColor = new BABYLON.Color3(0.3, 0.3, 0.3);
123
 
124
- const sun = new BABYLON.DirectionalLight("sun", new BABYLON.Vector3(-.5, -1, -.5), scene);
125
  sun.intensity = 2;
126
  sun.diffuse = new BABYLON.Color3(1, 1, 1);
127
 
@@ -225,6 +226,16 @@
225
  {/if}
226
  </div>
227
  </div>
 
 
 
 
 
 
 
 
 
 
228
  {#if data.scene.prompt}
229
  <div class="section">
230
  <div class="section-title">Prompt</div>
 
10
  model: string;
11
  url: string;
12
  prompt: string;
13
+ pipeline: string[];
14
  };
15
  model: {
16
  title: string;
 
122
  light.diffuse = new BABYLON.Color3(1, 1, 1);
123
  light.groundColor = new BABYLON.Color3(0.3, 0.3, 0.3);
124
 
125
+ const sun = new BABYLON.DirectionalLight("sun", new BABYLON.Vector3(-0.5, -1, -0.5), scene);
126
  sun.intensity = 2;
127
  sun.diffuse = new BABYLON.Color3(1, 1, 1);
128
 
 
226
  {/if}
227
  </div>
228
  </div>
229
+ {#if data.scene.pipeline}
230
+ <div class="section">
231
+ <div class="section-title">Pipeline</div>
232
+ <div class="info-panel">
233
+ {#each data.scene.pipeline as step}
234
+ <div class="section-label">{step}</div>
235
+ {/each}
236
+ </div>
237
+ </div>
238
+ {/if}
239
  {#if data.scene.prompt}
240
  <div class="section">
241
  <div class="section-title">Prompt</div>
viewer/static/thumbnails/sync-dreamer-armor.png CHANGED
viewer/static/thumbnails/sync-dreamer-deer.png CHANGED
viewer/static/thumbnails/sync-dreamer-drum.png CHANGED
viewer/static/thumbnails/sync-dreamer-forest.png CHANGED
viewer/static/thumbnails/sync-dreamer-monkey.png CHANGED
viewer/static/thumbnails/sync-dreamer-poro.png CHANGED
viewer/static/thumbnails/sync-dreamer-train.png CHANGED