NIRVANALAN commited on
Commit
64a54fd
β€’
1 Parent(s): d737bfb
Files changed (2) hide show
  1. app.py +21 -20
  2. debug.md +17 -0
app.py CHANGED
@@ -34,6 +34,26 @@ import torch.distributed as dist
34
 
35
  from dnnlib.util import EasyDict
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  def install_dependency():
38
  # install full cuda first
39
  # subprocess.run(
@@ -214,7 +234,7 @@ def main(args):
214
  eval_data=None,
215
  **args)
216
 
217
- @spaces.GPU(duration=200)
218
  def reconstruct_and_export(*args, **kwargs):
219
  return training_loop_class.eval_i23d_and_export(*args, **kwargs)
220
 
@@ -241,25 +261,6 @@ def main(args):
241
  image = resize_to_224(image)
242
  return image
243
 
244
- _CITE_ = r"""
245
- If LN3Diff is helpful, please help to ⭐ the
246
- <a href='https://github.com/NIRVANALAN/LN3Diff/' target='_blank'>Github Repo</a>. Thanks! [![GitHub Stars](https://img.shields.io/github/stars/NIRVANALAN/LN3Diff?style=social)](https://github.com/NIRVANALAN/LN3Diff/)
247
- ---
248
- πŸ“ **Citation**
249
- If you find our work useful for your research or applications, please cite using this bibtex:
250
- ```bibtex
251
- @inproceedings{lan2024ln3diff,
252
- title={LN3Diff: Scalable Latent Neural Fields Diffusion for Speedy 3D Generation},
253
- author={Yushi Lan and Fangzhou Hong and Shuai Yang and Shangchen Zhou and Xuyi Meng and Bo Dai and Xingang Pan and Chen Change Loy},
254
- year={2024},
255
- booktitle={ECCV},
256
- }
257
- ```
258
- πŸ“‹ **License**
259
- S-Lab 1.0 LICENSE. Please refer to the [LICENSE file](https://github.com/NIRVANALAN/LN3Diff/blob/main/LICENSE) for details.
260
- πŸ“§ **Contact**
261
- If you have any questions, feel free to open a discussion or contact us at <b>[email protected]</b>.
262
- """
263
 
264
 
265
 
 
34
 
35
  from dnnlib.util import EasyDict
36
 
37
+ _CITE_ = r"""
38
+ If LN3Diff is helpful, please help to ⭐ the
39
+ <a href='https://github.com/NIRVANALAN/LN3Diff/' target='_blank'>Github Repo</a>. Thanks! [![GitHub Stars](https://img.shields.io/github/stars/NIRVANALAN/LN3Diff?style=social)](https://github.com/NIRVANALAN/LN3Diff/)
40
+ ---
41
+ πŸ“ **Citation**
42
+ If you find our work useful for your research or applications, please cite using this bibtex:
43
+ ```bibtex
44
+ @inproceedings{lan2024ln3diff,
45
+ title={LN3Diff: Scalable Latent Neural Fields Diffusion for Speedy 3D Generation},
46
+ author={Yushi Lan and Fangzhou Hong and Shuai Yang and Shangchen Zhou and Xuyi Meng and Bo Dai and Xingang Pan and Chen Change Loy},
47
+ year={2024},
48
+ booktitle={ECCV}}
49
+ ```
50
+ πŸ“‹ **License**
51
+ S-Lab 1.0 LICENSE. Please refer to the [LICENSE file](https://github.com/NIRVANALAN/LN3Diff/blob/main/LICENSE) for details.
52
+
53
+ πŸ“§ **Contact**
54
+ If you have any questions, feel free to open a discussion or contact us at <b>[email protected]</b>.
55
+ """
56
+
57
  def install_dependency():
58
  # install full cuda first
59
  # subprocess.run(
 
234
  eval_data=None,
235
  **args)
236
 
237
+ @spaces.GPU()
238
  def reconstruct_and_export(*args, **kwargs):
239
  return training_loop_class.eval_i23d_and_export(*args, **kwargs)
240
 
 
261
  image = resize_to_224(image)
262
  return image
263
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
 
265
 
266
 
debug.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ If LN3Diff is helpful, please help to ⭐ the
2
+
3
+ <a href='https://github.com/NIRVANALAN/LN3Diff/' target='_blank'>Github Repo</a>. Thanks! [![GitHub Stars](https://img.shields.io/github/stars/NIRVANALAN/LN3Diff?style=social)](https://github.com/NIRVANALAN/LN3Diff/)
4
+
5
+ πŸ“ **Citation**
6
+ If you find our work useful for your research or applications, please cite using this bibtex:
7
+ ```bibtex
8
+ @inproceedings{lan2024ln3diff,
9
+ title={LN3Diff: Scalable Latent Neural Fields Diffusion for Speedy 3D Generation},
10
+ author={Yushi Lan and Fangzhou Hong and Shuai Yang and Shangchen Zhou and Xuyi Meng and Bo Dai and Xingang Pan and Chen Change Loy},
11
+ year={2024},
12
+ booktitle={ECCV}}
13
+ ```
14
+ πŸ“‹ **License**
15
+ S-Lab 1.0 LICENSE. Please refer to the [LICENSE file](https://github.com/NIRVANALAN/LN3Diff/blob/main/LICENSE) for details.
16
+ πŸ“§ **Contact**
17
+ If you have any questions, feel free to open a discussion or contact us at <b>[email protected]</b>.