Alexander Becker commited on
Commit
380e413
·
1 Parent(s): d3c591a

Make README more detailed

Browse files
Files changed (2) hide show
  1. README.md +34 -1
  2. requirements.txt +1 -1
README.md CHANGED
@@ -9,4 +9,37 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+ # Thera Arbitrary-Scale Super-Resolution
13
+ This is an interactive demo for our paper "Thera: Aliasing-Free Arbitrary-Scale Super-Resolution with Neural Heat Fields
14
+ " [(arXiV link)](https://arxiv.org/pdf/2311.17643) [(code link)](https://github.com/prs-eth/thera).
15
+
16
+ ## Run locally
17
+ If you want to run the demo locally, you need a Python 3.10 environment (e.g., installed via conda) on Linux as well as an NVIDIA GPU. Then install packages via pip:
18
+ ```bash
19
+ > pip install --upgrade pip
20
+ > pip install -r requirements.txt
21
+ ```
22
+
23
+ Then, start the Gradio server like this:
24
+ ```bash
25
+ > python app.py
26
+ ```
27
+
28
+ The server should bind to port `7860` by default.
29
+
30
+ ## Useful XLA flags
31
+ * Disable pre-allocation of entire VRAM: `XLA_PYTHON_CLIENT_PREALLOCATE=false`
32
+ * Disable jitting for debugging: `JAX_DISABLE_JIT=1`
33
+
34
+ ## Citation
35
+
36
+ If you found our work helpful, consider citing our paper 😊:
37
+
38
+ ```
39
+ @article{becker2025thera,
40
+ title={Thera: Aliasing-Free Arbitrary-Scale Super-Resolution with Neural Heat Fields},
41
+ author={Becker, Alexander and Daudt, Rodrigo Caye and Narnhofer, Dominik and Peters, Torben and Metzger, Nando and Wegner, Jan Dirk and Schindler, Konrad},
42
+ journal={arXiv preprint arXiv:2311.17643},
43
+ year={2025}
44
+ }
45
+ ```
requirements.txt CHANGED
@@ -30,4 +30,4 @@ wandb
30
 
31
  # gradio
32
  gradio_imageslider==0.0.20
33
- spaces
 
30
 
31
  # gradio
32
  gradio_imageslider==0.0.20
33
+ spaces==4.44.1