Yingying11 commited on
Commit
54b5f4b
·
verified ·
1 Parent(s): ab2b059

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -1
README.md CHANGED
@@ -1,3 +1,38 @@
 
 
 
 
 
 
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # HeatTok Semantic Patch Cache
2
+
3
+ Precomputed `.pt` caches for HeatTok. Use with `HEATTOK_SEMANTIC_CACHE_DIR=/path/to/cache`.
4
+
5
+ Filename pattern: `{image_hash}_g1_s28.pt` or `{image_hash}_g1_gd1_s28.pt`
6
+
7
  ---
8
+
9
+ ## semantic_patch_cache_vrsbench
10
+
11
+ - **Dataset:** VRSBench (512×512)
12
+ - Caches do **not** store precomputed global tokens or patch orientations.
13
+ - **Gaussian parameters** and patch metadata **are** stored.
14
+ - **No need to regenerate** `.pt` files — HeatTok computes global tokens and orientations online at load time.
15
+
16
  ---
17
+
18
+ ## semantic_patch_cache_earthvqa
19
+
20
+ - **Dataset:** EarthVQA (1024×1024)
21
+ - Caches use **global downsample divisor 1** (`gd1`).
22
+ - To use **divisor 8** (`gd8`), no regeneration needed — global branch is rebuilt online from the image processor.
23
+
24
+ ---
25
+
26
+ ## Usage
27
+
28
+ ```bash
29
+ export HEATTOK_SEMANTIC_CACHE_DIR=/path/to/semantic_patch_cache_vrsbench # or earthvqa
30
+ ```
31
+
32
+ ```yaml
33
+ use_semantic_patches: true
34
+ global_downsample: true
35
+ semantic_patch_size: 28
36
+ ```
37
+
38
+