diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..f438cd2c1a3f62d61462fdca48aa29722d512136 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,35 +1,3 @@ -*.7z filter=lfs diff=lfs merge=lfs -text -*.arrow filter=lfs diff=lfs merge=lfs -text -*.bin filter=lfs diff=lfs merge=lfs -text -*.bz2 filter=lfs diff=lfs merge=lfs -text -*.ckpt filter=lfs diff=lfs merge=lfs -text -*.ftz filter=lfs diff=lfs merge=lfs -text -*.gz filter=lfs diff=lfs merge=lfs -text -*.h5 filter=lfs diff=lfs merge=lfs -text -*.joblib filter=lfs diff=lfs merge=lfs -text -*.lfs.* filter=lfs diff=lfs merge=lfs -text -*.mlmodel filter=lfs diff=lfs merge=lfs -text -*.model filter=lfs diff=lfs merge=lfs -text -*.msgpack filter=lfs diff=lfs merge=lfs -text -*.npy filter=lfs diff=lfs merge=lfs -text *.npz filter=lfs diff=lfs merge=lfs -text -*.onnx filter=lfs diff=lfs merge=lfs -text -*.ot filter=lfs diff=lfs merge=lfs -text -*.parquet filter=lfs diff=lfs merge=lfs -text -*.pb filter=lfs diff=lfs merge=lfs -text -*.pickle filter=lfs diff=lfs merge=lfs -text -*.pkl filter=lfs diff=lfs merge=lfs -text -*.pt filter=lfs diff=lfs merge=lfs -text -*.pth filter=lfs diff=lfs merge=lfs -text -*.rar filter=lfs diff=lfs merge=lfs -text -*.safetensors filter=lfs diff=lfs merge=lfs -text -saved_model/**/* filter=lfs diff=lfs merge=lfs -text -*.tar.* filter=lfs diff=lfs merge=lfs -text -*.tar filter=lfs diff=lfs merge=lfs -text -*.tflite filter=lfs diff=lfs merge=lfs -text -*.tgz filter=lfs diff=lfs merge=lfs -text -*.wasm filter=lfs diff=lfs merge=lfs -text -*.xz filter=lfs diff=lfs merge=lfs -text -*.zip filter=lfs diff=lfs merge=lfs -text -*.zst filter=lfs diff=lfs merge=lfs -text -*tfevents* filter=lfs diff=lfs merge=lfs -text +*.jpg filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..3bab6f3249d94974f6d4bf000dd3e96569acc17e --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +_raw/ +.venv/ +__pycache__/ +build.log +screenshots/ +*.pyc diff --git a/README.md b/README.md index 7f5cd74091742fb815f7ec3efdb7842b04d7510a..257407e0f9a72d18b9a112e01a0b76a1ba73bd6e 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,74 @@ --- -title: SWR Bench Explorer -emoji: ๐Ÿข -colorFrom: gray -colorTo: indigo +title: SWR-Bench Explorer +emoji: ๐ŸŒˆ +colorFrom: indigo +colorTo: green sdk: gradio -sdk_version: 6.33.0 -python_version: '3.13' +sdk_version: 5.49.1 +python_version: "3.12" app_file: app.py pinned: false +license: cc-by-4.0 +datasets: + - ming0531/SWR-Bench +short_description: Click any pixel to see 64-band hyperspectral spectra and GT +tags: + - hyperspectral + - spectral-unmixing + - abundance-estimation + - material-segmentation + - multi-view + - 3d-gaussian-splatting + - novel-view-synthesis + - remote-sensing + - synthetic + - dataset-explorer --- -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference +# SWR-Bench Explorer + +An interactive viewer for **[SWR-Bench](https://huggingface.co/datasets/ming0531/SWR-Bench)**, a multi-view +hyperspectral benchmark for **3D hyperspectral unmixing** rendered with the Spectral World Renderer. +Pick a world and a view, switch between the sRGB render, the material ground truth, a colour-infrared composite +and per-class abundance maps, and click any pixel to plot its 64-band radiance spectrum (420โ€“980 nm, clean and noisy) +together with its ground-truth material and sub-pixel area abundances. + +**Paper:** [Spectral World Renderer: Unified 3D Hyperspectral Unmixing](https://arxiv.org/abs/2610.19520) ยท +**Dataset:** [ming0531/SWR-Bench](https://huggingface.co/datasets/ming0531/SWR-Bench) ยท +**Code:** [ming053l/Spectral-World-Renderer](https://github.com/ming053l/Spectral-World-Renderer) ยท +**Project page:** [ming053l.github.io/Spectral-World-Renderer](https://ming053l.github.io/Spectral-World-Renderer/) ยท +**Collection:** [Spectral World Renderer](https://huggingface.co/collections/ming0531/spectral-world-renderer-6b0fa8e8994ece823c7415ec) + +## What is in this Space + +A small preview subset of the dataset (`data/`, built by `build_preview.py` from the public release with the +official loader): three test views for each of ten worlds and City variants (Forbidden City, Market, Botanical, +Karst, City, Study, Office, and City with metamers, stress, morning and afternoon sun). For every view the Space +stores the released sRGB render, the full-resolution material map, a colour-infrared composite, and the clean and +noisy 64-band cubes and area abundances sampled at every third pixel (float16). No values are averaged, so each +spectrum and abundance vector belongs to one full-resolution pixel. The full dataset (2,364 views, 960ร—540 float32 +cubes, shading coefficients, instances, depth, normals and cameras) is on the +[dataset page](https://huggingface.co/datasets/ming0531/SWR-Bench). The NVIDIA HQ world is not included in this Space. + +## Licence and attribution + +The rendered data and ground truth are released under **CC BY 4.0**. Third-party inputs keep their own terms: + +- **ECOSTRESS Spectral Library**, courtesy of the Jet Propulsion Laboratory, California Institute of Technology + (ยฉ 2017 Caltech, https://speclib.jpl.nasa.gov/); not covered by CC BY 4.0. Please cite Meerdink et al. (2019), + *Remote Sensing of Environment* 230, 111196, and Baldridge et al. (2009), *Remote Sensing of Environment* 113, 711โ€“715. +- **USGS Spectral Library Version 7**, public domain; Kokaly et al. (2017), https://doi.org/10.5066/F7RR1WDJ. + +## Citation + +```bibtex +@misc{lee2026swr, + title = {Spectral World Renderer: Unified 3D Hyperspectral Unmixing}, + author = {Lee, Chia-Ming and Hsiao, Yu-Jou and Chang, Ming-Ching and Li, Xin and Liu, Yu-Lun and Hsu, Chih-Chung}, + year = {2026}, + eprint = {2610.19520}, + archivePrefix = {arXiv}, + primaryClass = {cs.CV}, + url = {https://arxiv.org/abs/2610.19520} +} +``` diff --git a/app.py b/app.py new file mode 100644 index 0000000000000000000000000000000000000000..8b562471a4b541064b2319153cb83de7ef6b7a0e --- /dev/null +++ b/app.py @@ -0,0 +1,345 @@ +"""SWR-Bench Explorer: browse multi-view hyperspectral renders and their ground truth. + +Data: a small preview subset of https://huggingface.co/datasets/ming0531/SWR-Bench (CC BY 4.0), built with +build_preview.py: three test views per world, 64-band clean and noisy radiance sampled at every third pixel, +area abundances and full-resolution material maps. +""" +from __future__ import annotations + +import json +from functools import lru_cache +from pathlib import Path + +import gradio as gr +import numpy as np +import plotly.graph_objects as go +from PIL import Image, ImageDraw + +DATA = Path(__file__).resolve().parent / "data" +META = json.load(open(DATA / "meta.json")) +WORLDS = META["worlds"] +UNITS = "W mโปยฒ srโปยน nmโปยน" +H, W = META["resolution"] + +LINKS = { + "Paper (arXiv)": "https://arxiv.org/abs/2610.19520", + "Dataset": "https://huggingface.co/datasets/ming0531/SWR-Bench", + "Code": "https://github.com/ming053l/Spectral-World-Renderer", + "Project page": "https://ming053l.github.io/Spectral-World-Renderer/", + "Collection": "https://huggingface.co/collections/ming0531/spectral-world-renderer-6b0fa8e8994ece823c7415ec", +} + +# fixed categorical order for compared pixels (validated reference palette, slots 1-4) +PICK_COLORS = ["#257de0", "#f47230", "#00b894", "#e2a100"] +CLEAN_COLOR, NOISY_COLOR = "#257de0", "#f47230" +MAX_PICKS = 4 +LAYERS = ["sRGB render", "Material ground truth", "Colour infrared (850/650/550 nm)", "Abundance of one class"] + + +def pretty(name: str) -> str: + return name.replace("_", " ") + + +def view_label(w: str, v: dict) -> str: + return f"{v['stem']} ยท test view {v['test_index'] + 1}/{WORLDS[w]['n_test']}" + + +def view_stem(w: str, label: str) -> str: + for v in WORLDS[w]["views"]: + if view_label(w, v) == label: + return v["stem"] + return WORLDS[w]["views"][0]["stem"] + + +@lru_cache(maxsize=8) +def load_view(w: str, stem: str) -> dict: + with np.load(DATA / w / f"{stem}.npz") as z: + d = {k: z[k] for k in z.files} + s = float(d["scale"]) + d["clean"] = d["clean"].astype(np.float32) * s + d["noisy"] = d["noisy"].astype(np.float32) * s + d["abundance"] = d["abundance"].astype(np.float32) + d["material"] = d["material"].astype(np.int16) - 1 + return d + + +@lru_cache(maxsize=24) +def base_image(w: str, stem: str, layer: str, cls: int) -> np.ndarray: + if layer == LAYERS[0]: + return np.asarray(Image.open(DATA / w / f"{stem}_rgb.jpg").convert("RGB")) + if layer == LAYERS[1]: + return np.asarray(Image.open(DATA / w / f"{stem}_mat.png").convert("RGB")) + if layer == LAYERS[2]: + return np.asarray(Image.open(DATA / w / f"{stem}_cir.jpg").convert("RGB")) + d = load_view(w, stem) + a = d["abundance"][..., cls] + # sequential single-hue ramp (dark surface -> bright blue), nearest upsampling to full resolution + lo, hi = np.array([18, 22, 30], np.float32), np.array([168, 210, 255], np.float32) + img = (lo + a[..., None] * (hi - lo)).astype(np.uint8) + st = int(d["stride"]) + img = np.repeat(np.repeat(img, st, 0), st, 1)[:H, :W] + img[d["material"] < 0] = (8, 8, 10) + return img + + +def draw_picks(img: np.ndarray, picks: list) -> np.ndarray: + im = Image.fromarray(img.copy()) + dr = ImageDraw.Draw(im) + for k, (x, y) in enumerate(picks): + c = PICK_COLORS[k % len(PICK_COLORS)] if len(picks) > 1 else "#ffffff" + r = 9 + dr.ellipse([x - r - 2, y - r - 2, x + r + 2, y + r + 2], outline="#000000", width=2) + dr.ellipse([x - r, y - r, x + r, y + r], outline=c, width=3) + dr.line([x - r - 6, y, x - r + 3, y], fill=c, width=2) + dr.line([x + r - 3, y, x + r + 6, y], fill=c, width=2) + dr.line([x, y - r - 6, x, y - r + 3], fill=c, width=2) + dr.line([x, y + r - 3, x, y + r + 6], fill=c, width=2) + return np.asarray(im) + + +def sample(d: dict, x: int, y: int): + st, o = int(d["stride"]), int(d["offset"]) + hh, ww = d["clean"].shape[:2] + i = int(np.clip(round((y - o) / st), 0, hh - 1)) + j = int(np.clip(round((x - o) / st), 0, ww - 1)) + return i, j, st * j + o, st * i + o # cube index and the full-resolution pixel it samples + + +def class_name(w: str, c: int) -> str: + return "background (no surface)" if c < 0 else pretty(WORLDS[w]["classes"][c]) + + +def spectrum_fig(w: str, stem: str, picks: list) -> go.Figure: + d = load_view(w, stem) + wl = np.asarray(WORLDS[w]["wavelengths"]) + fig = go.Figure() + fig.add_vrect(x0=wl[0], x1=700, fillcolor="rgba(127,127,127,0.06)", line_width=0, layer="below") + fig.add_annotation(x=560, y=1.0, yref="paper", text="visible", showarrow=False, + font=dict(size=11, color="#888"), yanchor="bottom") + fig.add_annotation(x=840, y=1.0, yref="paper", text="near infrared", showarrow=False, + font=dict(size=11, color="#888"), yanchor="bottom") + if len(picks) == 1: + x, y = picks[0] + i, j, px, py = sample(d, x, y) + fig.add_trace(go.Scatter(x=wl, y=d["noisy"][i, j], name="noisy observation", mode="lines", + line=dict(color=NOISY_COLOR, width=1.2), opacity=0.8, + hovertemplate="%{x:.1f} nm
%{y:.4g}noisy")) + fig.add_trace(go.Scatter(x=wl, y=d["clean"][i, j], name="clean radiance", mode="lines", + line=dict(color=CLEAN_COLOR, width=2.2), + hovertemplate="%{x:.1f} nm
%{y:.4g}clean")) + else: + for k, (x, y) in enumerate(picks): + i, j, px, py = sample(d, x, y) + c = int(d["material"][py, px]) + fig.add_trace(go.Scatter(x=wl, y=d["clean"][i, j], mode="lines", + name=f"#{k + 1} {class_name(w, c)}", + line=dict(color=PICK_COLORS[k % len(PICK_COLORS)], width=2.2), + hovertemplate="%{x:.1f} nm
%{y:.4g}#" + str(k + 1) + "")) + fig.update_layout( + template="plotly_white", height=330, margin=dict(l=64, r=16, t=30, b=58), + xaxis=dict(title="wavelength (nm)", range=[wl[0] - 4, wl[-1] + 4], showgrid=False, + ticks="outside", tickcolor="#bbb"), + yaxis=dict(title=f"radiance ({UNITS})", gridcolor="rgba(127,127,127,0.18)", zeroline=False, + rangemode="tozero"), + legend=dict(orientation="h", yanchor="top", y=-0.26, x=0, font=dict(size=11)), + hovermode="x unified", paper_bgcolor="rgba(0,0,0,0)", plot_bgcolor="rgba(0,0,0,0)", + font=dict(size=12), + ) + return fig + + +def abundance_fig(w: str, stem: str, pick) -> go.Figure: + d = load_view(w, stem) + i, j, px, py = sample(d, *pick) + a = d["abundance"][i, j] + names, pal = WORLDS[w]["classes"], WORLDS[w]["palette"] + idx = [c for c in np.argsort(-a) if a[c] > 1e-3] + fig = go.Figure() + if idx: + fig.add_trace(go.Bar( + y=[pretty(names[c]) for c in idx][::-1], x=[float(a[c]) for c in idx][::-1], orientation="h", + marker=dict(color=[pal[c] for c in idx][::-1], line=dict(color="rgba(0,0,0,0.35)", width=1)), + text=[f"{a[c]:.2f}" for c in idx][::-1], textposition="outside", cliponaxis=False, + hovertemplate="%{y}: %{x:.3f}")) + else: + fig.add_annotation(text="no surface at this pixel", x=0.5, y=0.5, xref="paper", yref="paper", + showarrow=False, font=dict(color="#888")) + fig.update_layout( + template="plotly_white", height=max(150, 60 + 30 * max(len(idx), 1)), + margin=dict(l=10, r=40, t=10, b=34), + xaxis=dict(range=[0, 1.12], title="area abundance (16 sub-pixel samples)", tickvals=[0, 0.5, 1], + gridcolor="rgba(127,127,127,0.18)"), + yaxis=dict(automargin=True), bargap=0.35, showlegend=False, + paper_bgcolor="rgba(0,0,0,0)", plot_bgcolor="rgba(0,0,0,0)", font=dict(size=12)) + return fig + + +def legend_html(w: str, stem: str) -> str: + v = next(v for v in WORLDS[w]["views"] if v["stem"] == stem) + names, pal = WORLDS[w]["classes"], WORLDS[w]["palette"] + items = "".join( + f'{pretty(names[c])}' + for c in range(len(names)) if c in v["present_classes"]) + return f'
{items}
' + + +def info_md(w: str, stem: str, picks: list) -> str: + d = load_view(w, stem) + wl = np.asarray(WORLDS[w]["wavelengths"]) + rows = [] + for k, (x, y) in enumerate(picks): + i, j, px, py = sample(d, x, y) + c = int(d["material"][py, px]) + cl = d["clean"][i, j] + tag = f"**#{k + 1}** ยท " if len(picks) > 1 else "" + rows.append(f"{tag}pixel **(x={px}, y={py})** ยท material **{class_name(w, c)}** ยท " + f"peak {cl.max():.3g} at {wl[int(cl.argmax())]:.0f} nm") + return "
".join(rows) + + +def world_md(w: str) -> str: + m = WORLDS[w] + return (f"**{m['name']}** โ€” {m['setting']} ยท {len(m['classes'])} material classes ยท " + f"[browse files](https://huggingface.co/datasets/ming0531/SWR-Bench/tree/main/{w})") + + +def code_md(w: str, stem: str) -> str: + return f"""```python +from huggingface_hub import hf_hub_download +import numpy as np + +repo = "ming0531/SWR-Bench" +cube = np.load(hf_hub_download(repo, "{w}/hsi_noisy/{stem}.npy", repo_type="dataset")) # (540, 960, 64) float32 +gt = np.load(hf_hub_download(repo, "{w}/gt/{stem}.npz", repo_type="dataset")) # material, abundances, ... +``` +For whole worlds and the unified ground-truth reader (`SWRScene`), see the [dataset card]({LINKS['Dataset']}).""" + + +# ------------------------------------------------------------------------------------------------- callbacks +def render(w, stem, layer, cls_label, picks): + cls = int(cls_label) if layer == LAYERS[3] and cls_label is not None else 0 + img = draw_picks(base_image(w, stem, layer, cls), picks) + pick = picks[-1] + return (img, spectrum_fig(w, stem, picks), abundance_fig(w, stem, pick), info_md(w, stem, picks)) + + +def default_pick(): + return [(W // 2, int(H * 0.62))] + + +def on_world(w): + views = [view_label(w, v) for v in WORLDS[w]["views"]] + classes = [(pretty(c), i) for i, c in enumerate(WORLDS[w]["classes"])] + stem = WORLDS[w]["views"][0]["stem"] + picks = default_pick() + return (gr.update(choices=views, value=views[0]), gr.update(choices=classes, value=0), + world_md(w), legend_html(w, stem), code_md(w, stem), picks, + *render(w, stem, LAYERS[0], 0, picks), LAYERS[0]) + + +def on_view(w, view, layer, cls_label): + stem = view_stem(w, view) + picks = default_pick() + return (legend_html(w, stem), code_md(w, stem), picks, *render(w, stem, layer, cls_label, picks)) + + +def on_layer(w, view, layer, cls_label, picks): + return (gr.update(visible=layer == LAYERS[3]), + *render(w, view_stem(w, view), layer, cls_label, picks)) + + +def on_click(w, view, layer, cls_label, compare, picks, evt: gr.SelectData): + x, y = int(evt.index[0]), int(evt.index[1]) + picks = (list(picks) + [(x, y)])[-MAX_PICKS:] if compare else [(x, y)] + return (picks, *render(w, view_stem(w, view), layer, cls_label, picks)) + + +def on_compare(w, view, layer, cls_label, compare, picks): + picks = list(picks)[-1:] if not compare else list(picks) + return (picks, *render(w, view_stem(w, view), layer, cls_label, picks)) + + +# ------------------------------------------------------------------------------------------------- layout +CSS = """ +.gradio-container {max-width: 1320px !important; margin: 0 auto;} +#swr-head h1 {font-size: 1.75rem; margin: 0.2rem 0 0.1rem 0; letter-spacing: -0.01em;} +#swr-head p {margin: 0.25rem 0; opacity: 0.85;} +.swr-links a {display: inline-block; margin: 0.25rem 0.35rem 0 0; padding: 0.22rem 0.7rem; border-radius: 999px; + border: 1px solid var(--border-color-primary); text-decoration: none !important; font-size: 0.86rem;} +.swr-links a:hover {background: var(--background-fill-secondary);} +.swr-legend {display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-size: 0.85rem; padding: 0.2rem 0;} +.swr-chip {display: inline-flex; align-items: center; gap: 0.35rem;} +.swr-sw {width: 0.85rem; height: 0.85rem; border-radius: 3px; border: 1px solid rgba(127,127,127,0.5);} +#swr-img img {cursor: crosshair;} +.swr-foot {font-size: 0.8rem; opacity: 0.8; line-height: 1.45;} +""" + +HEAD = f"""
+

SWR-Bench Explorer

+

Multi-view hyperspectral renders (64 bands, 420โ€“980 nm) with pixel-aligned material and sub-pixel abundance +ground truth, from Spectral World Renderer: Unified 3D Hyperspectral Unmixing. +Pick a world and a view, then click any pixel to see its spectrum.

+ +
""" + +FOOT = """
+About this preview. Three test views per world; spectra and abundances are those of the full-resolution pixel +nearest to the click on a 3-pixel grid (no averaging), stored as float16. The full dataset (12 datasets, 2,364 views, +960ร—540 float32 noisy and clean cubes, shading coefficients, instances, depth, normals, cameras) is at +ming0531/SWR-Bench. The NVIDIA HQ world is not shown here.
+Licence and attribution. Rendered data and ground truth: CC BY 4.0. Material spectra come from the +ECOSTRESS Spectral Library, courtesy of the Jet Propulsion Laboratory, California Institute of Technology +(ยฉ 2017 Caltech, speclib.jpl.nasa.gov; Meerdink et al., 2019; Baldridge et al., 2009; +not covered by CC BY 4.0), and the USGS Spectral Library Version 7 (public domain; Kokaly et al., 2017, +doi:10.5066/F7RR1WDJ).
+Citation. Lee, Hsiao, Chang, Li, Liu, Hsu. Spectral World Renderer: Unified 3D Hyperspectral Unmixing. +arXiv:2610.19520, 2026. +
""" + +W0 = "market" if "market" in WORLDS else next(iter(WORLDS)) +PICK0 = [(193, 271)] if W0 == "market" else default_pick() # vegetation pixel: clear red-edge in the first spectrum +STEM0 = WORLDS[W0]["views"][0]["stem"] +CLASSES0 = [(pretty(c), i) for i, c in enumerate(WORLDS[W0]["classes"])] +VIEWS0 = [view_label(W0, v) for v in WORLDS[W0]["views"]] +IMG0, SPEC0, AB0, INFO0 = render(W0, STEM0, LAYERS[0], 0, PICK0) + +theme = gr.themes.Soft(primary_hue="blue", neutral_hue="slate", + font=[gr.themes.GoogleFont("Inter"), "ui-sans-serif", "system-ui", "sans-serif"]) + +with gr.Blocks(title="SWR-Bench Explorer", theme=theme, css=CSS) as demo: + picks = gr.State(PICK0) + gr.HTML(HEAD) + with gr.Row(equal_height=False): + with gr.Column(scale=3): + with gr.Row(): + world = gr.Dropdown([(m["name"], k) for k, m in WORLDS.items()], value=W0, label="World", scale=2) + view = gr.Dropdown(VIEWS0, value=VIEWS0[0], label="View", scale=2) + wmd = gr.Markdown(world_md(W0)) + layer = gr.Radio(LAYERS, value=LAYERS[0], label="Layer", container=False) + cls = gr.Dropdown(CLASSES0, value=0, label="Abundance class", visible=False, + info="Area fraction per pixel: dark = 0, light blue = 1; black = no surface.") + img = gr.Image(IMG0, label="Click a pixel", interactive=False, elem_id="swr-img", + show_download_button=False, show_fullscreen_button=True, show_share_button=False, + format="jpeg") + legend = gr.HTML(legend_html(W0, STEM0)) + with gr.Column(scale=2): + info = gr.Markdown(INFO0) + gr.Markdown("#### Radiance spectrum") + spec = gr.Plot(SPEC0, show_label=False) + compare = gr.Checkbox(False, label=f"Compare mode: keep up to {MAX_PICKS} clicked pixels (clean spectra)") + gr.Markdown("#### Ground-truth abundances at the last clicked pixel") + ab = gr.Plot(AB0, show_label=False) + with gr.Accordion("Load this view from the dataset", open=False): + code = gr.Markdown(code_md(W0, STEM0)) + gr.HTML(FOOT) + + outs = [img, spec, ab, info] + world.change(on_world, [world], [view, cls, wmd, legend, code, picks, *outs, layer]) + view.input(on_view, [world, view, layer, cls], [legend, code, picks, *outs]) + layer.change(on_layer, [world, view, layer, cls, picks], [cls, *outs]) + cls.change(on_layer, [world, view, layer, cls, picks], [cls, *outs]) + img.select(on_click, [world, view, layer, cls, compare, picks], [picks, *outs]) + compare.change(on_compare, [world, view, layer, cls, compare, picks], [picks, *outs]) + +if __name__ == "__main__": + demo.launch() diff --git a/build_preview.py b/build_preview.py new file mode 100644 index 0000000000000000000000000000000000000000..9b47f0522a83fa0581ac0087cc4f5033e3948e8e --- /dev/null +++ b/build_preview.py @@ -0,0 +1,180 @@ +#!/usr/bin/env python3 +"""Build the small preview subset shipped with the SWR-Bench Explorer Space. + +For every world (nvidia_hq excluded) a few TEST views are fetched from the public dataset +(ming0531/SWR-Bench), read with the official loader (tools/swr_bench.py) and reduced to: + + data//.npz clean + noisy cube, area abundances (every STRIDE-th pixel, float16) + material id map (full resolution, uint8, 0 = background) + data//_rgb.jpg released sRGB render (full resolution) + data//_mat.png material ground truth, coloured with the world palette + data//_cir.jpg colour-infrared composite (850/650/550 nm) of the clean cube + data/meta.json worlds, classes, palettes, wavelengths, views + +Cube and ground-truth spectra are point samples of the full-resolution pixel (STRIDE*i+o, STRIDE*j+o); +nothing is averaged, so the noisy and clean spectra and the abundances refer to exactly the same pixel. +Raw downloads go to _raw/ and the large cubes are deleted after use. + +Usage: .venv/bin/python build_preview.py [--views 3] [--stride 3] [--workers 4] +""" +from __future__ import annotations + +import argparse +import json +import os +import sys +import time +from concurrent.futures import ThreadPoolExecutor +from pathlib import Path + +import numpy as np +from huggingface_hub import hf_hub_download +from PIL import Image + +REPO = "ming0531/SWR-Bench" +HERE = Path(__file__).resolve().parent +RAW = HERE / "_raw" +OUT = HERE / "data" + +WORLDS = [ # (key, display name, setting); nvidia_hq deliberately excluded (trademark notice on the card) + ("forbidden_city", "Forbidden City", "outdoor ยท palace complex"), + ("market", "Market", "outdoor ยท market square with stalls and pottery"), + ("botanical", "Botanical", "outdoor ยท botanical garden"), + ("karst", "Karst", "outdoor ยท karst river valley with clear water"), + ("city", "City", "outdoor ยท campus block in a city"), + ("study", "Study", "indoor ยท scholar's study, spectral path tracing"), + ("office", "Office", "indoor ยท open-plan office, spectral path tracing"), + ("city_metamer", "City ยท metamers", "City variant ยท RGB metamers for vegetation and car paint"), + ("city_stress", "City ยท stress", "City variant ยท dry or senescent foliage on ~25% of trees"), + ("city_morning", "City ยท morning", "City variant ยท morning sun position"), + ("city_afternoon", "City ยท afternoon", "City variant ยท afternoon sun position"), +] + +# fallback categorical order (validated reference palette) for worlds without a palette in their protocol +FALLBACK = ["#257de0", "#f47230", "#00b894", "#f2a600", "#ee7fac", "#008a17", "#6a4ce2", "#ec4647"] + + +def fetch(rel): + return Path(hf_hub_download(REPO, rel, repo_type="dataset", local_dir=RAW)) + + +def hexrgb(c): + return "#%02x%02x%02x" % tuple(int(v) for v in c[:3]) + + +def world_palette(sc, key, names, stem): + if sc.family == "indoor": + pal = json.load(open(sc.shared / "scene_protocol.json")).get("material_palette") + else: + proto = json.load(open(sc.dir / "material_class_protocol.json")) + pal = proto.get("primary_palette") or proto.get("palette_rgb") + if pal and len(pal) >= len(names): + return [hexrgb(c) for c in pal[: len(names)]] + # derive from the released merged material preview of one view (per-class median colour) + try: + prev = np.asarray(Image.open(fetch(f"{key}/material_gt_rgb_merged/{stem}.png")).convert("RGB")) + mat = sc.load_gt(stem)["material"] + out = [] + for c in range(len(names)): + m = mat == c + out.append(hexrgb(np.median(prev[m], 0)) if m.sum() > 20 else FALLBACK[c % len(FALLBACK)]) + return out + except Exception as e: # pragma: no cover + print(f"[{key}] palette fallback: {e}", file=sys.stderr) + return [FALLBACK[c % len(FALLBACK)] for c in range(len(names))] + + +def build_world(key, name, setting, n_views, stride, keep_raw): + t0 = time.time() + for s in ("train", "val", "test"): + fetch(f"{key}/transforms_{s}.json") + for rel in (f"{key}/noise_settings.json", f"{key}/gt/spectral_sample_bank.npz", + f"{key}/material_class_protocol.json", f"{key}/scene_protocol.json", + f"{key}/spectral_materials.npz"): + try: + fetch(rel) + except Exception: + pass + sys.path.insert(0, str(RAW / "tools")) + from swr_bench import SWRScene, false_colour # official loader + + sc = SWRScene(RAW, key, "noisy") + names = sc.class_names() + wl = sc.wavelengths() + n_test = len(sc.stems("test")) + idx = sorted(set(np.linspace(0, n_test - 1, n_views).round().astype(int).tolist())) + od = OUT / key + od.mkdir(parents=True, exist_ok=True) + views, palette = [], None + o = stride // 2 + for i in idx: + cam = sc.camera("test", i) + stem = cam["stem"] + rels = [f"{key}/hsi_clean/{stem}.npy", f"{key}/hsi_noisy/{stem}.npy", f"{key}/gt/{stem}.npz", + f"{key}/images/{stem}.png"] + for r in rels: + fetch(r) + gt = sc.load_gt(stem) + if palette is None: + palette = world_palette(sc, key, names, stem) + clean = np.asarray(sc.load_cube(stem)) + noisy = np.asarray(sc.load_cube(stem, other=True)) + sl = (slice(o, None, stride), slice(o, None, stride)) + c_s, n_s = clean[sl].astype(np.float32), noisy[sl].astype(np.float32) + scale = float(max(np.abs(c_s).max(), np.abs(n_s).max(), 1e-30)) + mat = gt["material"].astype(np.int16) + ab = gt["abundance_area"][sl].astype(np.float16) + np.savez_compressed( + od / f"{stem}.npz", + clean=(c_s / scale).astype(np.float16), noisy=(n_s / scale).astype(np.float16), + scale=np.float32(scale), abundance=ab, material=(mat + 1).astype(np.uint8), + stride=np.int32(stride), offset=np.int32(o)) + # images + Image.fromarray(sc.load_rgb(stem)[..., :3]).save(od / f"{stem}_rgb.jpg", quality=90) + lut = np.zeros((len(names) + 1, 3), np.uint8) + lut[0] = (24, 24, 27) + for c, h in enumerate(palette): + lut[c + 1] = [int(h[k:k + 2], 16) for k in (1, 3, 5)] + Image.fromarray(lut[mat + 1]).save(od / f"{stem}_mat.png", optimize=True) + Image.fromarray(false_colour(clean, wl)).save(od / f"{stem}_cir.jpg", quality=90) + present = sorted(int(c) for c in np.unique(mat) if c >= 0) + views.append(dict(stem=stem, split="test", test_index=int(i), present_classes=present)) + del clean, noisy, c_s, n_s, gt + if not keep_raw: + for r in rels[:3]: + try: + os.remove(RAW / r) + except FileNotFoundError: + pass + print(f"[{key}] {stem} done ({time.time() - t0:.0f}s)", flush=True) + fam = sc.family + return key, dict(name=name, setting=setting, family=fam, classes=names, palette=palette, + views=views, n_test=n_test, wavelengths=[float(x) for x in wl]) + + +def main(): + ap = argparse.ArgumentParser() + ap.add_argument("--views", type=int, default=3) + ap.add_argument("--stride", type=int, default=3) + ap.add_argument("--workers", type=int, default=4) + ap.add_argument("--worlds", nargs="*") + ap.add_argument("--keep-raw", action="store_true") + a = ap.parse_args() + fetch("tools/swr_bench.py") + OUT.mkdir(exist_ok=True) + todo = [w for w in WORLDS if not a.worlds or w[0] in a.worlds] + meta_p = OUT / "meta.json" + meta = json.load(open(meta_p)) if meta_p.is_file() else {"worlds": {}} + with ThreadPoolExecutor(a.workers) as ex: + res = list(ex.map(lambda w: build_world(*w, a.views, a.stride, a.keep_raw), todo)) + for k, v in res: + meta["worlds"][k] = v + order = [w[0] for w in WORLDS] + meta["worlds"] = {k: meta["worlds"][k] for k in order if k in meta["worlds"]} + meta.update(repo=REPO, units="W m^-2 sr^-1 nm^-1", resolution=[540, 960], stride=a.stride) + json.dump(meta, open(meta_p, "w"), indent=1) + print("wrote", meta_p) + + +if __name__ == "__main__": + main() diff --git a/data/botanical/f_0000.npz b/data/botanical/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..137d4312c5eaf0b4b514b520f65ed61b8124e066 --- /dev/null +++ b/data/botanical/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d61bc0ac384548115dc6928b4be236ff217bc23c2d0daca0a269f3fdb3e18dbb +size 12303957 diff --git a/data/botanical/f_0000_cir.jpg b/data/botanical/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e85811bdd90f83183cdc5457244ae1988f427832 --- /dev/null +++ b/data/botanical/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:198b7d9001cb89a14bbff6000acb70ca199e64e438aa12ca4f1e5f0ebf791646 +size 209736 diff --git a/data/botanical/f_0000_mat.png b/data/botanical/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..2a1c8fa2710ff48a19e7d9b75cea03d3252e19b3 Binary files /dev/null and b/data/botanical/f_0000_mat.png differ diff --git a/data/botanical/f_0000_rgb.jpg b/data/botanical/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..142801d9a2d101f9c61ca46c5374372bccbb123c --- /dev/null +++ b/data/botanical/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8464c4a32b08dfa18e22b65b1f38dfcf47e1a3d3df2d04dcb802156b4ad54282 +size 172923 diff --git a/data/botanical/f_0092.npz b/data/botanical/f_0092.npz new file mode 100644 index 0000000000000000000000000000000000000000..9fcad66876f10314f21a6645ecab7c5b82dd1bcb --- /dev/null +++ b/data/botanical/f_0092.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87ddf249debc0d237608352db974a2e43630e1d6e162ca37fc92718659471bf5 +size 12582641 diff --git a/data/botanical/f_0092_cir.jpg b/data/botanical/f_0092_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8affddf214c117101c8d146e33ea344b43392851 --- /dev/null +++ b/data/botanical/f_0092_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4d40a41d5c6984fe6a40d7de57730036aa92864555ef7e3a20354bcdc716edc +size 225899 diff --git a/data/botanical/f_0092_mat.png b/data/botanical/f_0092_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..1aec918129579d71b87af0222a41e7b5a9c806f8 Binary files /dev/null and b/data/botanical/f_0092_mat.png differ diff --git a/data/botanical/f_0092_rgb.jpg b/data/botanical/f_0092_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ecff23b0ebbcf7574d56e298041dffac4625e916 --- /dev/null +++ b/data/botanical/f_0092_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d161e5d0638d51cf34fb7d90faf03873cc2e30816d73f41641f183292c603f1 +size 186469 diff --git a/data/botanical/f_0176.npz b/data/botanical/f_0176.npz new file mode 100644 index 0000000000000000000000000000000000000000..df1a013ff68fccb0b8642f196cc24b4fb247b272 --- /dev/null +++ b/data/botanical/f_0176.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91d507d439ee363a0dfeace7f51482321faca7882c383f1e9b016ec290253b3a +size 12423808 diff --git a/data/botanical/f_0176_cir.jpg b/data/botanical/f_0176_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..66a11fba12066b4ceec5f7a710115148db9a83a5 --- /dev/null +++ b/data/botanical/f_0176_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f18838a7d539378fd6d9fd160c6d577fed9b72799b2c3f6624cca1adcb525b1 +size 215104 diff --git a/data/botanical/f_0176_mat.png b/data/botanical/f_0176_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c82770a6f82cea208da4672081be342858e81195 Binary files /dev/null and b/data/botanical/f_0176_mat.png differ diff --git a/data/botanical/f_0176_rgb.jpg b/data/botanical/f_0176_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ff4e706d7eb71e8de547328c9163d6857be1c4d6 --- /dev/null +++ b/data/botanical/f_0176_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b94fc8c706e5f0c47474e015f283df244acc900dc542d453ea8219baf137b308 +size 178190 diff --git a/data/city/f_0000.npz b/data/city/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..3003099cb347bf2d289f5560f158949a8553d842 --- /dev/null +++ b/data/city/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87461d4a8ec39aa41e53bef6e61e80c18607cc71e96280620a446c2be63ffff3 +size 11055905 diff --git a/data/city/f_0000_cir.jpg b/data/city/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..be976799f1cdd981d9ab346e0310040e6a59521a --- /dev/null +++ b/data/city/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f94d327d24d95bad04d7039f40ca0c8ab6924ff4b39e9670cb7fed610f728976 +size 156860 diff --git a/data/city/f_0000_mat.png b/data/city/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..03cfb51e763191777fe3025b06033958983bca59 Binary files /dev/null and b/data/city/f_0000_mat.png differ diff --git a/data/city/f_0000_rgb.jpg b/data/city/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..56917dfe3aab6fb21eacb061f9d478d4ae8319cb --- /dev/null +++ b/data/city/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b964bfb7c96fe586101efbd1978f05623dd964fc7847847fdd6d0c8225e48c9 +size 125438 diff --git a/data/city/f_0120.npz b/data/city/f_0120.npz new file mode 100644 index 0000000000000000000000000000000000000000..26ab49f8f81e9126ec3f4b13bf9d63c2cf8d0837 --- /dev/null +++ b/data/city/f_0120.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62baf2019ed36e84430b65facec1cb9ac2184f8601cb77767ff419a5a85992b6 +size 11443891 diff --git a/data/city/f_0120_cir.jpg b/data/city/f_0120_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ce54a3608172bbe88cdb5467b50cec8d044dddea --- /dev/null +++ b/data/city/f_0120_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8d8d6a5d2d00f63ad90c3ed0204f3b6b5afb70406eaae58a1a9be06ce81c91d +size 172821 diff --git a/data/city/f_0120_mat.png b/data/city/f_0120_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..324352bea5e9880d2ef179208e48ccaa3120fc88 Binary files /dev/null and b/data/city/f_0120_mat.png differ diff --git a/data/city/f_0120_rgb.jpg b/data/city/f_0120_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f1f9ca595adfd97fc2caa646adddd712fdaa5e51 --- /dev/null +++ b/data/city/f_0120_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7bfe5036559729947a02b41d233c15a732a3bc43f17bec12d4100c4ec0b8f17 +size 130749 diff --git a/data/city/f_0236.npz b/data/city/f_0236.npz new file mode 100644 index 0000000000000000000000000000000000000000..e12b6a968854862ff26e35c650b7e7dfc4d3bc1c --- /dev/null +++ b/data/city/f_0236.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6376c83b8a16ca9bc14758250bac9c98dac03a54d92493e00a9e124c7b1d629d +size 11286164 diff --git a/data/city/f_0236_cir.jpg b/data/city/f_0236_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0834a0f76d427ef17ff6cbd303464755dc90f698 --- /dev/null +++ b/data/city/f_0236_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cb20fa37c3415be0b71d9479574b84fc178df1318dfb68ee27fa60aa8429f02 +size 147478 diff --git a/data/city/f_0236_mat.png b/data/city/f_0236_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c9ff46f0c7bcfe69051dbb0358151567d9b8c5bc Binary files /dev/null and b/data/city/f_0236_mat.png differ diff --git a/data/city/f_0236_rgb.jpg b/data/city/f_0236_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7e3a3b825e1bf67d78716c43e5ac6d057f96bf9a --- /dev/null +++ b/data/city/f_0236_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e478e4c67db051b6656a53a04f028694bfae53bb8c15a8badfacad9de53f073 +size 113746 diff --git a/data/city_afternoon/f_0000.npz b/data/city_afternoon/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..567a278ea80043185ce1c3ea31361638957cef3a --- /dev/null +++ b/data/city_afternoon/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dda260f7f70dac5a807ed73c4110bd0a454394fc01b7fd2d5de8676372171e08 +size 11156368 diff --git a/data/city_afternoon/f_0000_cir.jpg b/data/city_afternoon/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bf35b886dd645224952b5ea2e07256a4db4f6c40 --- /dev/null +++ b/data/city_afternoon/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cca6ccf08201d22aa884c76a2a7338638fc268153334062ec788415ce7e31ed +size 151276 diff --git a/data/city_afternoon/f_0000_mat.png b/data/city_afternoon/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..03cfb51e763191777fe3025b06033958983bca59 Binary files /dev/null and b/data/city_afternoon/f_0000_mat.png differ diff --git a/data/city_afternoon/f_0000_rgb.jpg b/data/city_afternoon/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..79b5a4a28b169a045717aa1a6adc839de7983884 --- /dev/null +++ b/data/city_afternoon/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4aca5fe42b17e317206e8627e0cac138835969e6b353f26193fd5048c0ba4c60 +size 118554 diff --git a/data/city_afternoon/f_0120.npz b/data/city_afternoon/f_0120.npz new file mode 100644 index 0000000000000000000000000000000000000000..d28f30cc4516693e8cbf98db568314a155436b35 --- /dev/null +++ b/data/city_afternoon/f_0120.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddeba0f322bc75be1e7497dea0553fc1c705366b4ed96b33983d63e1aee08778 +size 11488064 diff --git a/data/city_afternoon/f_0120_cir.jpg b/data/city_afternoon/f_0120_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9607666f28901c434d316386ed9d93ed4491e23d --- /dev/null +++ b/data/city_afternoon/f_0120_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d79104f3a195d3ff7eb5bb260d760958346e47d5ddc87cdfa8458b5cee1d5e98 +size 174501 diff --git a/data/city_afternoon/f_0120_mat.png b/data/city_afternoon/f_0120_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..324352bea5e9880d2ef179208e48ccaa3120fc88 Binary files /dev/null and b/data/city_afternoon/f_0120_mat.png differ diff --git a/data/city_afternoon/f_0120_rgb.jpg b/data/city_afternoon/f_0120_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cd21f29faa67cacc33aff75f4136e01073c45877 --- /dev/null +++ b/data/city_afternoon/f_0120_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49ce07225633d2d53bba5e878c9ef7931b5f48ea77427f744370dda6cdfbee7a +size 117843 diff --git a/data/city_afternoon/f_0236.npz b/data/city_afternoon/f_0236.npz new file mode 100644 index 0000000000000000000000000000000000000000..64c0c0379f0fd7c1a4fb78b5489efff8d965cf5c --- /dev/null +++ b/data/city_afternoon/f_0236.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb844f23738e65c35ca6db01e15190173a97f02c8454b3ca2c671eb9c656c2f4 +size 11552399 diff --git a/data/city_afternoon/f_0236_cir.jpg b/data/city_afternoon/f_0236_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9a18960b623bc90860c52bc52069bdced5118fbd --- /dev/null +++ b/data/city_afternoon/f_0236_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:878e25ae87d35bbc78d4e3723a9336c4ebffca72da9825deddce44deac6175a4 +size 145588 diff --git a/data/city_afternoon/f_0236_mat.png b/data/city_afternoon/f_0236_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c9ff46f0c7bcfe69051dbb0358151567d9b8c5bc Binary files /dev/null and b/data/city_afternoon/f_0236_mat.png differ diff --git a/data/city_afternoon/f_0236_rgb.jpg b/data/city_afternoon/f_0236_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d0c440f653332fb5e640e7c1e79ebc69d025cef2 --- /dev/null +++ b/data/city_afternoon/f_0236_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9170d29487906d75112d840c47eb362a0473601d8656c7f2ff56902063fec068 +size 108169 diff --git a/data/city_metamer/f_0000.npz b/data/city_metamer/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..5a2417a37b071538f064c818ac752304f2130ad9 --- /dev/null +++ b/data/city_metamer/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc6749c95164e9c5bf6265ce03a410d218e35b8b64d3890ecb68669f72f9c8a1 +size 11062041 diff --git a/data/city_metamer/f_0000_cir.jpg b/data/city_metamer/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..08fc95c6a71ea05cc83c89d220929b8474194de3 --- /dev/null +++ b/data/city_metamer/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2f2b440ab52cd3150a3fa4073cf6093d3713f0959d936105b3c5dfe2d51167b +size 156778 diff --git a/data/city_metamer/f_0000_mat.png b/data/city_metamer/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..7c72418cd788b75e5ba8f4de66bbcaa13d77b8c5 Binary files /dev/null and b/data/city_metamer/f_0000_mat.png differ diff --git a/data/city_metamer/f_0000_rgb.jpg b/data/city_metamer/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..78d05ef33ce00bd9daf034203c6444150420bf4c --- /dev/null +++ b/data/city_metamer/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c0b3e9e503ac294ccbd3363c7fddc2d198196fac0ff7c11f4b1f8263f963f9e +size 125541 diff --git a/data/city_metamer/f_0120.npz b/data/city_metamer/f_0120.npz new file mode 100644 index 0000000000000000000000000000000000000000..3535726cf2435360438ff01b98f7049919fce89d --- /dev/null +++ b/data/city_metamer/f_0120.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec37b6e7f5fdddbe994d41ca6f3be3670553f9c010480efadf05abcc1350cb61 +size 11459715 diff --git a/data/city_metamer/f_0120_cir.jpg b/data/city_metamer/f_0120_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..69a862741e20b34e1f1f5cb60b0c5c67189b1b0d --- /dev/null +++ b/data/city_metamer/f_0120_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adafb427daee6589f213f4dcf004d61606251e2d81a6d6c2a4408c45d28c6c3f +size 171839 diff --git a/data/city_metamer/f_0120_mat.png b/data/city_metamer/f_0120_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..7ab27713a80ca0a7117d741228f2a0a230e98b59 Binary files /dev/null and b/data/city_metamer/f_0120_mat.png differ diff --git a/data/city_metamer/f_0120_rgb.jpg b/data/city_metamer/f_0120_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..589baeb027247a7d8386cb6bdbe03232982765c5 --- /dev/null +++ b/data/city_metamer/f_0120_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de748b61fcfaf8f4bcc9da01dc69cb724765ed237d567f1bf5b879e58d7014a2 +size 130826 diff --git a/data/city_metamer/f_0236.npz b/data/city_metamer/f_0236.npz new file mode 100644 index 0000000000000000000000000000000000000000..1ccac06f2681cce1556869e4242ad60e80b000ea --- /dev/null +++ b/data/city_metamer/f_0236.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8683efa16671bafaf22167cbcfa1f76ad062211df2494d2dc47c224b192a5fd +size 11305311 diff --git a/data/city_metamer/f_0236_cir.jpg b/data/city_metamer/f_0236_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9ca87d72bd2040f96aa995050e42fd8771c2d924 --- /dev/null +++ b/data/city_metamer/f_0236_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:041c2e62be89ae7766686e884339c27dc98524c7bc1b31f01e3980268827202c +size 147307 diff --git a/data/city_metamer/f_0236_mat.png b/data/city_metamer/f_0236_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..4932358b37af5244603eeb0033ff0f1296491d67 Binary files /dev/null and b/data/city_metamer/f_0236_mat.png differ diff --git a/data/city_metamer/f_0236_rgb.jpg b/data/city_metamer/f_0236_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ad06638743cca4c03e0f6ea0060a4f6fd0a50839 --- /dev/null +++ b/data/city_metamer/f_0236_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b51f0ea61d579c70beba5db059aa985434858a65d8669069c125ab452d6a95ec +size 113915 diff --git a/data/city_morning/f_0000.npz b/data/city_morning/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..6986a095b5eca61cefaa6791bfbd4b9e1b3d3d6d --- /dev/null +++ b/data/city_morning/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6590e3c6360d562bd148df1d03de5a4bd0401628a3ad824fbb2bb8c464b26ef +size 11214280 diff --git a/data/city_morning/f_0000_cir.jpg b/data/city_morning/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9d07a47d0f16bd1b1d24b8561e5e0233de13021c --- /dev/null +++ b/data/city_morning/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:757e5a8b9361f806147496f1066a2c071c5dde559cf34d23474943f52cece97d +size 141073 diff --git a/data/city_morning/f_0000_mat.png b/data/city_morning/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..03cfb51e763191777fe3025b06033958983bca59 Binary files /dev/null and b/data/city_morning/f_0000_mat.png differ diff --git a/data/city_morning/f_0000_rgb.jpg b/data/city_morning/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..429a9f0c48db4c110b34c94d7b3b9c5a07dd130a --- /dev/null +++ b/data/city_morning/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5464d7a481967d15f489001962a5b54e7e599ce5b414d2d12127b0a6dde9feba +size 119214 diff --git a/data/city_morning/f_0120.npz b/data/city_morning/f_0120.npz new file mode 100644 index 0000000000000000000000000000000000000000..7b3c70809959dc5c33bdda6c7bb4aa665830d885 --- /dev/null +++ b/data/city_morning/f_0120.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:beaf3bbb98c526dfc22e1d9de2e20010080b3d28549bc7ff9b0415b749eae0f3 +size 11493552 diff --git a/data/city_morning/f_0120_cir.jpg b/data/city_morning/f_0120_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5d5e67fc821a1359c944f6524321503f2be023c5 --- /dev/null +++ b/data/city_morning/f_0120_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e697f0e20bfc7284f3ee88e520dd37b431a651863f26e5483e25c64f38e68424 +size 158138 diff --git a/data/city_morning/f_0120_mat.png b/data/city_morning/f_0120_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..324352bea5e9880d2ef179208e48ccaa3120fc88 Binary files /dev/null and b/data/city_morning/f_0120_mat.png differ diff --git a/data/city_morning/f_0120_rgb.jpg b/data/city_morning/f_0120_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..931a3cd44bbca0ece47e4611ac71e76830a63ab4 --- /dev/null +++ b/data/city_morning/f_0120_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d2dea1bb180b9bf41ce423d56c8ae129ab272db99d1df146a9d65dd5eb76f72 +size 128527 diff --git a/data/city_morning/f_0236.npz b/data/city_morning/f_0236.npz new file mode 100644 index 0000000000000000000000000000000000000000..8118177cfad249c84f916c489a4ff0483fdbd5dc --- /dev/null +++ b/data/city_morning/f_0236.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b2aeb3a82854a6b0c42a2e465c814129788d637b8da5cc380c94f50c6a8c853 +size 11595835 diff --git a/data/city_morning/f_0236_cir.jpg b/data/city_morning/f_0236_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0049c87428c1395c9fbe4e054fecfce3e3f71040 --- /dev/null +++ b/data/city_morning/f_0236_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5383149380fe2fc7b4874422bf3e87edc51ee42e34ddb800f5fdd491933825f +size 155017 diff --git a/data/city_morning/f_0236_mat.png b/data/city_morning/f_0236_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c9ff46f0c7bcfe69051dbb0358151567d9b8c5bc Binary files /dev/null and b/data/city_morning/f_0236_mat.png differ diff --git a/data/city_morning/f_0236_rgb.jpg b/data/city_morning/f_0236_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..38b8898b881f53395ea497015baa3d0b0c4fa3da Binary files /dev/null and b/data/city_morning/f_0236_rgb.jpg differ diff --git a/data/city_stress/f_0000.npz b/data/city_stress/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..328676a368d4aa40a006d2ea1a2cd14eb7929b00 --- /dev/null +++ b/data/city_stress/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91eeb7919697d0bacb3ccdfdd4c8c995d9ac8b80694944f4c9271b04eda0fc03 +size 11035403 diff --git a/data/city_stress/f_0000_cir.jpg b/data/city_stress/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..047bdca9f23c14632d6a3425093d2d13926065d3 --- /dev/null +++ b/data/city_stress/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02dda183c714321a260922f5ee4e1a0f7d542938447e1c38632246ee0f7f005f +size 159225 diff --git a/data/city_stress/f_0000_mat.png b/data/city_stress/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..03cfb51e763191777fe3025b06033958983bca59 Binary files /dev/null and b/data/city_stress/f_0000_mat.png differ diff --git a/data/city_stress/f_0000_rgb.jpg b/data/city_stress/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7cab85669ffe9075cf58da78b5133a20735a3411 --- /dev/null +++ b/data/city_stress/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a5730608d4480a2da9584a039eb183e9a267f21a2914d569db07b25c42aacce +size 128668 diff --git a/data/city_stress/f_0120.npz b/data/city_stress/f_0120.npz new file mode 100644 index 0000000000000000000000000000000000000000..cf0c0a1eb1af35d53c406c170302a1cbfc418901 --- /dev/null +++ b/data/city_stress/f_0120.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66ed0079002b900afdaaf2e7ee1e74578b2de0a1acd3faf609c3b827470dd71a +size 11439172 diff --git a/data/city_stress/f_0120_cir.jpg b/data/city_stress/f_0120_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c9acbf1b6e329684637d538eb9e9c2f9f248d20b --- /dev/null +++ b/data/city_stress/f_0120_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2816849f0889197c294034d48b8725658f8cb794def02024d7edb2e6b91223f +size 174410 diff --git a/data/city_stress/f_0120_mat.png b/data/city_stress/f_0120_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..324352bea5e9880d2ef179208e48ccaa3120fc88 Binary files /dev/null and b/data/city_stress/f_0120_mat.png differ diff --git a/data/city_stress/f_0120_rgb.jpg b/data/city_stress/f_0120_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..038cf97c016ae72e6bbcd779e0ee16d544733208 --- /dev/null +++ b/data/city_stress/f_0120_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94af63f175876c4fef9c56577b1373cac1174a27370b29200eaa3d57d3c553b8 +size 133090 diff --git a/data/city_stress/f_0236.npz b/data/city_stress/f_0236.npz new file mode 100644 index 0000000000000000000000000000000000000000..287be6620c6d361061345a5504c50d8a569d098d --- /dev/null +++ b/data/city_stress/f_0236.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:909873ac4e14b9082023d26d52bc364b3bbc09b6eb0542b34830bff88f610119 +size 11280844 diff --git a/data/city_stress/f_0236_cir.jpg b/data/city_stress/f_0236_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..473ba49cec558c6f4448b6cc045fc1a05dfedd0b --- /dev/null +++ b/data/city_stress/f_0236_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fbe044de4303c6807a88f974f1d63acefb1e89a854cdac254adbdb029bdff13 +size 149010 diff --git a/data/city_stress/f_0236_mat.png b/data/city_stress/f_0236_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c9ff46f0c7bcfe69051dbb0358151567d9b8c5bc Binary files /dev/null and b/data/city_stress/f_0236_mat.png differ diff --git a/data/city_stress/f_0236_rgb.jpg b/data/city_stress/f_0236_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2a80a25d473f1cc182fd8bab5766684325802ae0 --- /dev/null +++ b/data/city_stress/f_0236_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06e0dff336cf16f0651b5b02a81181c6e2daed235645b1f339bc4223791ce6ea +size 115206 diff --git a/data/forbidden_city/f_0000.npz b/data/forbidden_city/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..d753ca6488a221ed65c66d760e57bd2a665ef3ca --- /dev/null +++ b/data/forbidden_city/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ddb59031b827d332b4a137d6dff7e4c4ed3ca41b55cc7166c5f8dda38ce6dac +size 11748698 diff --git a/data/forbidden_city/f_0000_cir.jpg b/data/forbidden_city/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2e080c24d87d0fcd117e03c7194be733c8a59f30 --- /dev/null +++ b/data/forbidden_city/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ed1b56a8ccd62c899be067bd8851ba964d41e7050f522570c3c00da061b9dcc +size 161080 diff --git a/data/forbidden_city/f_0000_mat.png b/data/forbidden_city/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..08d06bd3b95a9e22ab489960877bd92d645ac4fb Binary files /dev/null and b/data/forbidden_city/f_0000_mat.png differ diff --git a/data/forbidden_city/f_0000_rgb.jpg b/data/forbidden_city/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1a33d2ccfa8f5dc2ef9b109ccc55c7b6c8967f1b --- /dev/null +++ b/data/forbidden_city/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4a9ed41491acaaacca8e8dbd0c781e6889b43513f5ab3424047fb0ba1649828 +size 145004 diff --git a/data/forbidden_city/f_0092.npz b/data/forbidden_city/f_0092.npz new file mode 100644 index 0000000000000000000000000000000000000000..cffc76208a6d9096ec30215af7b388e4167c72c5 --- /dev/null +++ b/data/forbidden_city/f_0092.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2162939df983c2611d7ac8358410cae150ba460dfb3873dd39066e6eaf555d8d +size 12671083 diff --git a/data/forbidden_city/f_0092_cir.jpg b/data/forbidden_city/f_0092_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..157198f37840b96db9b1cea338e9974ec5b5e1f3 --- /dev/null +++ b/data/forbidden_city/f_0092_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9345a434779978932c619b205477633f9e24533d7010856570f03c5ba7a730a7 +size 203383 diff --git a/data/forbidden_city/f_0092_mat.png b/data/forbidden_city/f_0092_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..3f8045a0127dba6fd461a6bbb8031ea70e6c0d14 Binary files /dev/null and b/data/forbidden_city/f_0092_mat.png differ diff --git a/data/forbidden_city/f_0092_rgb.jpg b/data/forbidden_city/f_0092_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8a23eaef01f3053ed2fa0432822716df81fbb024 --- /dev/null +++ b/data/forbidden_city/f_0092_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e2656aaa044d93cb19b4ee51f314f87d9b17ca2114330a8199cea1b0ce721f3 +size 209761 diff --git a/data/forbidden_city/f_0176.npz b/data/forbidden_city/f_0176.npz new file mode 100644 index 0000000000000000000000000000000000000000..4734b07ec4ae99538818267a775921b1c0777a49 --- /dev/null +++ b/data/forbidden_city/f_0176.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbf7fce9c92cfc6140a532097df04b705947f29359d6c2f1030e2cac82ced9d8 +size 12365280 diff --git a/data/forbidden_city/f_0176_cir.jpg b/data/forbidden_city/f_0176_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..47471655927cf916f7d8e059213b7ff2ba4837f3 --- /dev/null +++ b/data/forbidden_city/f_0176_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a345949a2be30fbf0a68f1a17f1fd3a15ef7088fca1a08c22c9ea0254c2b819f +size 190225 diff --git a/data/forbidden_city/f_0176_mat.png b/data/forbidden_city/f_0176_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..3d94a76e4b6f683988b18df06a1f320b81d01299 Binary files /dev/null and b/data/forbidden_city/f_0176_mat.png differ diff --git a/data/forbidden_city/f_0176_rgb.jpg b/data/forbidden_city/f_0176_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..afe0acaf1e574b036a5a9f2ccf2ca943098129c4 --- /dev/null +++ b/data/forbidden_city/f_0176_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9be9868582eca119ad278ae987eb4fc8f464e2deeeb6dcb0aa1539c260f4f82e +size 195424 diff --git a/data/karst/f_0005.npz b/data/karst/f_0005.npz new file mode 100644 index 0000000000000000000000000000000000000000..59a9c22bea1887a9bb266ea6ff212c23fe09972a --- /dev/null +++ b/data/karst/f_0005.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0122bffc1ad19219b88cfe60d879fbabfb5e1e3dfbf7b4cb650cb43098dbcc58 +size 12025722 diff --git a/data/karst/f_0005_cir.jpg b/data/karst/f_0005_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dd6119258f37c27ba8b7673d1e0bec51cc3a1f3f --- /dev/null +++ b/data/karst/f_0005_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:659a7947aa8b7393c43379b5e634e3d0f42da56f78efb4692b404da2ee2039d1 +size 171188 diff --git a/data/karst/f_0005_mat.png b/data/karst/f_0005_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..16075bec735144a8ea2344699100a30034c6f9b2 Binary files /dev/null and b/data/karst/f_0005_mat.png differ diff --git a/data/karst/f_0005_rgb.jpg b/data/karst/f_0005_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8672208f757f7f620879d2c3264e169733396237 --- /dev/null +++ b/data/karst/f_0005_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d28b6e03c8e710d35101e70d5c4989ec021434db88e521cb2b59a57ddfec382 +size 114846 diff --git a/data/karst/f_0101.npz b/data/karst/f_0101.npz new file mode 100644 index 0000000000000000000000000000000000000000..15d0d9bd6d6f711bc16bc1e5d0efd59127d72034 --- /dev/null +++ b/data/karst/f_0101.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c936bab53d9d4cbd781666afbf44f414ea9b291b1bb26a20078b3641644157c5 +size 12318661 diff --git a/data/karst/f_0101_cir.jpg b/data/karst/f_0101_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5c9cf1b639fe1ee4503d5481f479f71437352186 --- /dev/null +++ b/data/karst/f_0101_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1338c6eac7c01efc79e4d56bda1c1e6dd28554b0c0ac1e33763e46bd2531e2e +size 144469 diff --git a/data/karst/f_0101_mat.png b/data/karst/f_0101_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..58285af99e11be010505fe18804a45a3097f3608 Binary files /dev/null and b/data/karst/f_0101_mat.png differ diff --git a/data/karst/f_0101_rgb.jpg b/data/karst/f_0101_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4b60176553fbe70b88019031f3d6507463c8562c Binary files /dev/null and b/data/karst/f_0101_rgb.jpg differ diff --git a/data/karst/f_0191.npz b/data/karst/f_0191.npz new file mode 100644 index 0000000000000000000000000000000000000000..8b65f90a7aadb3ed6b344a965ae2f58c056663d0 --- /dev/null +++ b/data/karst/f_0191.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60fa32cd6a83d9698bc0b3746cfddb9695c6f720eb79ca266bb7482591b290b9 +size 11473043 diff --git a/data/karst/f_0191_cir.jpg b/data/karst/f_0191_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4de1965b5abb454f4b804a6a4b6b49b40c9e88bf --- /dev/null +++ b/data/karst/f_0191_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e1ca91a4bde638eb07ced898c352edd1bc6b0b2326d51f1fdb3fd0a4f26032d +size 119625 diff --git a/data/karst/f_0191_mat.png b/data/karst/f_0191_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..ef7573cddaee883006597e2b560a40102a19e26e Binary files /dev/null and b/data/karst/f_0191_mat.png differ diff --git a/data/karst/f_0191_rgb.jpg b/data/karst/f_0191_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b2d11e5926db5d3d3ef51f252761e3e66abb9cb2 Binary files /dev/null and b/data/karst/f_0191_rgb.jpg differ diff --git a/data/market/f_0000.npz b/data/market/f_0000.npz new file mode 100644 index 0000000000000000000000000000000000000000..d1db80ce9c0edf5c1ad9124ca5c7ba1d90afc577 --- /dev/null +++ b/data/market/f_0000.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32612889004b86b750fbf2576ebabfc0c18f5b784de5868e9ff8d5f88392b068 +size 12180383 diff --git a/data/market/f_0000_cir.jpg b/data/market/f_0000_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a78970f795848c17978538afcc677ffde32cb80a --- /dev/null +++ b/data/market/f_0000_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd79f2b7b122b76764d59987614cb1f7997199ff25abf112d603f215792fe493 +size 158599 diff --git a/data/market/f_0000_mat.png b/data/market/f_0000_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c4714966533873c7eb9a39c7d9c1574cbabe82d9 Binary files /dev/null and b/data/market/f_0000_mat.png differ diff --git a/data/market/f_0000_rgb.jpg b/data/market/f_0000_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..90161962af4424be0ec2df41f2ec08801cc46e50 --- /dev/null +++ b/data/market/f_0000_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d34c97c668f3bba4cef3cc49c14436f70d8334eebce5fbe5eab71242a5d95694 +size 137114 diff --git a/data/market/f_0092.npz b/data/market/f_0092.npz new file mode 100644 index 0000000000000000000000000000000000000000..69df164fb4eddb1dbc3e9ec9928e2966f8b7f16b --- /dev/null +++ b/data/market/f_0092.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed073309d458133ac5e69fa0ce7f8c687410ab23a6a886a7f3b0527ed1ee75c2 +size 12263315 diff --git a/data/market/f_0092_cir.jpg b/data/market/f_0092_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9c1e8ed3dd664d5061c94661aadaa65190ff6512 --- /dev/null +++ b/data/market/f_0092_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51f3be6e760506e6453ec2443cecb317b6dbf5e46895df07311bd8b4ff471a51 +size 158993 diff --git a/data/market/f_0092_mat.png b/data/market/f_0092_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..ccbcc44afa2bc2da7340f0714e609e459cd7d0c5 Binary files /dev/null and b/data/market/f_0092_mat.png differ diff --git a/data/market/f_0092_rgb.jpg b/data/market/f_0092_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..29689d53c1cbc39db26a5f23022519c07b07e5a0 --- /dev/null +++ b/data/market/f_0092_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6d5ea7946e862cf4a9dccaae15372b38c880a621bcf1235223a25ca956cc688 +size 136636 diff --git a/data/market/f_0176.npz b/data/market/f_0176.npz new file mode 100644 index 0000000000000000000000000000000000000000..7a3251e8832a4adb910f6dbf11796e130dfea6dd --- /dev/null +++ b/data/market/f_0176.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ae05e44a68f2b75fe37d3f4e59ca76e0d2d356b8dff9ed719eaeda784964afc +size 12271068 diff --git a/data/market/f_0176_cir.jpg b/data/market/f_0176_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c0b8654bfdae5c69cbd73a0e5b74f9df29a9c220 --- /dev/null +++ b/data/market/f_0176_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96539730fca69df7a4dd787217b94447ae2336272c3d36d314a1ffad6966d825 +size 174025 diff --git a/data/market/f_0176_mat.png b/data/market/f_0176_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..dddfe67b1e55e7af50c2016fc191f61e0bf09d1b Binary files /dev/null and b/data/market/f_0176_mat.png differ diff --git a/data/market/f_0176_rgb.jpg b/data/market/f_0176_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d85425a2afc38ebd717ad67a8f823be5a8d34320 --- /dev/null +++ b/data/market/f_0176_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e88f51591a9861a6b59c12437809250bf3d07ca85ff5ff172f51a22860508b1b +size 149333 diff --git a/data/meta.json b/data/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e15b5d178284740c904c00e0d03995f7c8da57f7 --- /dev/null +++ b/data/meta.json @@ -0,0 +1,1560 @@ +{ + "worlds": { + "forbidden_city": { + "name": "Forbidden City", + "setting": "outdoor \u00b7 palace complex", + "family": "outdoor", + "classes": [ + "yellow_glazed_tile", + "vermilion_paint", + "vegetation", + "white_marble", + "grey_masonry", + "painted_eaves", + "soil_and_bark", + "water", + "distant_city_haze" + ], + "palette": [ + "#ebbe1e", + "#c82823", + "#348c3a", + "#f5f5f0", + "#6e6e73", + "#2896a0", + "#96693c", + "#2850c8", + "#c8c8d4" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ] + }, + { + "stem": "f_0092", + "split": "test", + "test_index": 12, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ] + }, + { + "stem": "f_0176", + "split": "test", + "test_index": 23, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 6, + 7 + ] + } + ], + "n_test": 24, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "market": { + "name": "Market", + "setting": "outdoor \u00b7 market square with stalls and pottery", + "family": "outdoor", + "classes": [ + "travertine", + "marble_granite_stone_group", + "photosynthetic_vegetation", + "fired_clay", + "sandy_soil", + "wood_and_bark" + ], + "palette": [ + "#ccb591", + "#eeece1", + "#38903d", + "#bb532b", + "#8e7044", + "#825125" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + }, + { + "stem": "f_0092", + "split": "test", + "test_index": 12, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + }, + { + "stem": "f_0176", + "split": "test", + "test_index": 23, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + } + ], + "n_test": 24, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "botanical": { + "name": "Botanical", + "setting": "outdoor \u00b7 botanical garden", + "family": "outdoor", + "classes": [ + "travertine", + "marble_granite_stone_group", + "photosynthetic_vegetation", + "fired_clay", + "sandy_soil", + "wood_and_bark" + ], + "palette": [ + "#ccb591", + "#eeece1", + "#38903d", + "#bb532b", + "#8e7044", + "#825125" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + }, + { + "stem": "f_0092", + "split": "test", + "test_index": 12, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + }, + { + "stem": "f_0176", + "split": "test", + "test_index": 23, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + } + ], + "n_test": 24, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "karst": { + "name": "Karst", + "setting": "outdoor \u00b7 karst river valley with clear water", + "family": "karst", + "classes": [ + "limestone", + "green_vegetation", + "soil", + "wood_bark", + "water_surface" + ], + "palette": [ + "#d8d3c2", + "#47923f", + "#9c623b", + "#6c452a", + "#2b81ca" + ], + "views": [ + { + "stem": "f_0005", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4 + ] + }, + { + "stem": "f_0101", + "split": "test", + "test_index": 16, + "present_classes": [ + 0, + 1, + 2, + 3, + 4 + ] + }, + { + "stem": "f_0191", + "split": "test", + "test_index": 31, + "present_classes": [ + 0, + 1, + 2, + 3, + 4 + ] + } + ], + "n_test": 32, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "city": { + "name": "City", + "setting": "outdoor \u00b7 campus block in a city", + "family": "outdoor", + "classes": [ + "concrete_masonry", + "vegetation", + "fired_clay", + "asphalt_and_white_markings", + "yellow_road_paint", + "soil_and_bark", + "dark_glazing", + "painted_facade", + "metal_roofing", + "vehicle", + "dark_backdrop" + ], + "palette": [ + "#eceae2", + "#348c3a", + "#be5630", + "#46464c", + "#ebc81e", + "#967346", + "#284678", + "#e678c8", + "#5aaaaa", + "#dc1e3c", + "#0a0a0a" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ] + }, + { + "stem": "f_0120", + "split": "test", + "test_index": 16, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + }, + { + "stem": "f_0236", + "split": "test", + "test_index": 31, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + } + ], + "n_test": 32, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "study": { + "name": "Study", + "setting": "indoor \u00b7 scholar's study, spectral path tracing", + "family": "indoor", + "classes": [ + "aged_reddish_brown_wood", + "pale_paper_proxy", + "carbon_black_ink_proxy", + "dark_stone_inkstone_proxy", + "matte_ceramic_proxy", + "light_source_geometry" + ], + "palette": [ + "#663523", + "#eae0c0", + "#1c1c21", + "#434951", + "#96846a", + "#f9a93e" + ], + "views": [ + { + "stem": "f_0006", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + }, + { + "stem": "f_0054", + "split": "test", + "test_index": 8, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + }, + { + "stem": "f_0091", + "split": "test", + "test_index": 15, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5 + ] + } + ], + "n_test": 16, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "office": { + "name": "Office", + "setting": "indoor \u00b7 open-plan office, spectral path tracing", + "family": "indoor", + "classes": [ + "light_oak_wood", + "dark_laminate_coating", + "textile", + "floor_grey_vinyl_proxy", + "white_paint_plastic", + "vegetation", + "metal", + "display", + "light_source_geometry" + ], + "palette": [ + "#cda069", + "#262428", + "#784696", + "#afb2b6", + "#f0f0ec", + "#3c963c", + "#5a8cc8", + "#00c8c8", + "#ffdc3c" + ], + "views": [ + { + "stem": "f_0006", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 6, + 7, + 8 + ] + }, + { + "stem": "f_0054", + "split": "test", + "test_index": 8, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ] + }, + { + "stem": "f_0091", + "split": "test", + "test_index": 15, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 6, + 7, + 8 + ] + } + ], + "n_test": 16, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "city_metamer": { + "name": "City \u00b7 metamers", + "setting": "City variant \u00b7 RGB metamers for vegetation and car paint", + "family": "outdoor", + "classes": [ + "concrete_masonry", + "vegetation", + "fired_clay", + "asphalt_and_white_markings", + "yellow_road_paint", + "soil_and_bark", + "dark_glazing", + "painted_facade", + "metal_roofing", + "vehicle", + "dark_backdrop", + "metameric_substitute" + ], + "palette": [ + "#eceae2", + "#348c3a", + "#be5630", + "#46464c", + "#ebc81e", + "#967346", + "#284678", + "#e678c8", + "#5aaaaa", + "#dc1e3c", + "#0a0a0a", + "#00ffa0" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, + { + "stem": "f_0120", + "split": "test", + "test_index": 16, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9, + 11 + ] + }, + { + "stem": "f_0236", + "split": "test", + "test_index": 31, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9, + 11 + ] + } + ], + "n_test": 32, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "city_stress": { + "name": "City \u00b7 stress", + "setting": "City variant \u00b7 dry or senescent foliage on ~25% of trees", + "family": "outdoor", + "classes": [ + "concrete_masonry", + "vegetation", + "fired_clay", + "asphalt_and_white_markings", + "yellow_road_paint", + "soil_and_bark", + "dark_glazing", + "painted_facade", + "metal_roofing", + "vehicle", + "dark_backdrop" + ], + "palette": [ + "#eceae2", + "#348c3a", + "#be5630", + "#46464c", + "#ebc81e", + "#967346", + "#284678", + "#e678c8", + "#5aaaaa", + "#dc1e3c", + "#0a0a0a" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ] + }, + { + "stem": "f_0120", + "split": "test", + "test_index": 16, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + }, + { + "stem": "f_0236", + "split": "test", + "test_index": 31, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + } + ], + "n_test": 32, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "city_morning": { + "name": "City \u00b7 morning", + "setting": "City variant \u00b7 morning sun position", + "family": "outdoor", + "classes": [ + "concrete_masonry", + "vegetation", + "fired_clay", + "asphalt_and_white_markings", + "yellow_road_paint", + "soil_and_bark", + "dark_glazing", + "painted_facade", + "metal_roofing", + "vehicle", + "dark_backdrop" + ], + "palette": [ + "#eceae2", + "#348c3a", + "#be5630", + "#46464c", + "#ebc81e", + "#967346", + "#284678", + "#e678c8", + "#5aaaaa", + "#dc1e3c", + "#0a0a0a" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ] + }, + { + "stem": "f_0120", + "split": "test", + "test_index": 16, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + }, + { + "stem": "f_0236", + "split": "test", + "test_index": 31, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + } + ], + "n_test": 32, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + }, + "city_afternoon": { + "name": "City \u00b7 afternoon", + "setting": "City variant \u00b7 afternoon sun position", + "family": "outdoor", + "classes": [ + "concrete_masonry", + "vegetation", + "fired_clay", + "asphalt_and_white_markings", + "yellow_road_paint", + "soil_and_bark", + "dark_glazing", + "painted_facade", + "metal_roofing", + "vehicle", + "dark_backdrop" + ], + "palette": [ + "#eceae2", + "#348c3a", + "#be5630", + "#46464c", + "#ebc81e", + "#967346", + "#284678", + "#e678c8", + "#5aaaaa", + "#dc1e3c", + "#0a0a0a" + ], + "views": [ + { + "stem": "f_0000", + "split": "test", + "test_index": 0, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10 + ] + }, + { + "stem": "f_0120", + "split": "test", + "test_index": 16, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + }, + { + "stem": "f_0236", + "split": "test", + "test_index": 31, + "present_classes": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9 + ] + } + ], + "n_test": 32, + "wavelengths": [ + 420.0, + 428.8888888888889, + 437.77777777777777, + 446.6666666666667, + 455.55555555555554, + 464.44444444444446, + 473.3333333333333, + 482.22222222222223, + 491.1111111111111, + 500.0, + 508.8888888888889, + 517.7777777777778, + 526.6666666666666, + 535.5555555555555, + 544.4444444444445, + 553.3333333333334, + 562.2222222222222, + 571.1111111111111, + 580.0, + 588.8888888888889, + 597.7777777777778, + 606.6666666666667, + 615.5555555555555, + 624.4444444444445, + 633.3333333333334, + 642.2222222222222, + 651.1111111111111, + 660.0, + 668.8888888888889, + 677.7777777777778, + 686.6666666666667, + 695.5555555555555, + 704.4444444444445, + 713.3333333333334, + 722.2222222222222, + 731.1111111111111, + 740.0, + 748.8888888888889, + 757.7777777777778, + 766.6666666666667, + 775.5555555555555, + 784.4444444444445, + 793.3333333333334, + 802.2222222222222, + 811.1111111111111, + 820.0, + 828.8888888888889, + 837.7777777777778, + 846.6666666666667, + 855.5555555555557, + 864.4444444444445, + 873.3333333333334, + 882.2222222222222, + 891.1111111111111, + 900.0, + 908.8888888888889, + 917.7777777777778, + 926.6666666666667, + 935.5555555555555, + 944.4444444444445, + 953.3333333333334, + 962.2222222222223, + 971.1111111111111, + 980.0 + ] + } + }, + "repo": "ming0531/SWR-Bench", + "units": "W m^-2 sr^-1 nm^-1", + "resolution": [ + 540, + 960 + ], + "stride": 3 +} \ No newline at end of file diff --git a/data/office/f_0006.npz b/data/office/f_0006.npz new file mode 100644 index 0000000000000000000000000000000000000000..5f1cdff41e997f4521465d211ba5eb8d03ce881b --- /dev/null +++ b/data/office/f_0006.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a92a29d8d352755a9cc60df4364e5dd1e25b71619d0a3e818ce8166430250824 +size 12240391 diff --git a/data/office/f_0006_cir.jpg b/data/office/f_0006_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5e5314beba7afd0f7493b5764ea9da6ff02f4f4a Binary files /dev/null and b/data/office/f_0006_cir.jpg differ diff --git a/data/office/f_0006_mat.png b/data/office/f_0006_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..7c037d87a0a69d46912d8645ace71db1596e7dfb Binary files /dev/null and b/data/office/f_0006_mat.png differ diff --git a/data/office/f_0006_rgb.jpg b/data/office/f_0006_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..adc2f71d4351b6dde61a0d45478babc6d8b2daca --- /dev/null +++ b/data/office/f_0006_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28c50b7c6013910013b5e3327160e802731eca9be7bdbec0699816f5fb2e42ed +size 132382 diff --git a/data/office/f_0054.npz b/data/office/f_0054.npz new file mode 100644 index 0000000000000000000000000000000000000000..4d01520f4ac0442a12feb2ce2d9c6b972ec92c63 --- /dev/null +++ b/data/office/f_0054.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7c60022e6ae883a6d4bb51143d92aaef9e207e04648477962ea56f5e1b0988a +size 12622023 diff --git a/data/office/f_0054_cir.jpg b/data/office/f_0054_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f1ab22feb2dae89a045ca3e4ced931589d697819 Binary files /dev/null and b/data/office/f_0054_cir.jpg differ diff --git a/data/office/f_0054_mat.png b/data/office/f_0054_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..a69d2239ce6b8041f0187a9ec3e561d72d59bb36 Binary files /dev/null and b/data/office/f_0054_mat.png differ diff --git a/data/office/f_0054_rgb.jpg b/data/office/f_0054_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..37210946fae33028d549678e7b0e23c9b48583cb --- /dev/null +++ b/data/office/f_0054_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcfa1d5669c4a86c89c0a9fe01465e7d74f44f93eb51244d9659dfbeefc56772 +size 125966 diff --git a/data/office/f_0091.npz b/data/office/f_0091.npz new file mode 100644 index 0000000000000000000000000000000000000000..53979d4f757d4aa96315d9cc173071aa385df2c2 --- /dev/null +++ b/data/office/f_0091.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a77b4e0ba3dc7ad8869e8d68650aabedbc381d4b19d59611deca7949d814a72 +size 12285448 diff --git a/data/office/f_0091_cir.jpg b/data/office/f_0091_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cf7eb8631218cc0a0fa60b65622bc876053ec1cd Binary files /dev/null and b/data/office/f_0091_cir.jpg differ diff --git a/data/office/f_0091_mat.png b/data/office/f_0091_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..b4312cc42686160384f22ba8fac7150275d5b0d5 Binary files /dev/null and b/data/office/f_0091_mat.png differ diff --git a/data/office/f_0091_rgb.jpg b/data/office/f_0091_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8e9df73240ad1ebe7b2dad32ecc315ca7ab2e9e8 --- /dev/null +++ b/data/office/f_0091_rgb.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:413b6ffc61755a33f5840278bad786e75aa40369632d7939f12eb5380c27ecf4 +size 122368 diff --git a/data/study/f_0006.npz b/data/study/f_0006.npz new file mode 100644 index 0000000000000000000000000000000000000000..b445746a06c03580fe0c4243e5a2dba1727c6e7f --- /dev/null +++ b/data/study/f_0006.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d53ac89c23aaedf0bb8152929ec0df8d1765a1c7b439e8889d3801a9082433e +size 12039306 diff --git a/data/study/f_0006_cir.jpg b/data/study/f_0006_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b09e7607a6fc652c35ac57480c7542f01422cc8d --- /dev/null +++ b/data/study/f_0006_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6544be15406da501874758fae6c9e2dd9391ba4bd302cf60c2b6fafbd1c1009b +size 109058 diff --git a/data/study/f_0006_mat.png b/data/study/f_0006_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c725c2fa18cbe50b3d019db08aa9aac53e72d276 Binary files /dev/null and b/data/study/f_0006_mat.png differ diff --git a/data/study/f_0006_rgb.jpg b/data/study/f_0006_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4e3fd5ae04edb08e51f832c2627c85e56c6c27ae Binary files /dev/null and b/data/study/f_0006_rgb.jpg differ diff --git a/data/study/f_0054.npz b/data/study/f_0054.npz new file mode 100644 index 0000000000000000000000000000000000000000..c7f21bcf20ddcf076291eca148285305e005c380 --- /dev/null +++ b/data/study/f_0054.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b9e5380a7e84fe24d689ac3355b09c5f1984a7b6de7fc2817de33cd7c8af1ea +size 11943972 diff --git a/data/study/f_0054_cir.jpg b/data/study/f_0054_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4a89c8578ce5336da8f972ec60c9a05d0167b68c --- /dev/null +++ b/data/study/f_0054_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b497887e4ade56da135ae051f435a7780a3fdc0b5679058b9132a8c886c783e +size 102161 diff --git a/data/study/f_0054_mat.png b/data/study/f_0054_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..c8232617aa43a67a2b99f11e4ad9dfdfadf3cb1c Binary files /dev/null and b/data/study/f_0054_mat.png differ diff --git a/data/study/f_0054_rgb.jpg b/data/study/f_0054_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e30f79f85158e941552b2a18a7039aabd8245d80 Binary files /dev/null and b/data/study/f_0054_rgb.jpg differ diff --git a/data/study/f_0091.npz b/data/study/f_0091.npz new file mode 100644 index 0000000000000000000000000000000000000000..078914bd0db4fa7c6de0928dbf758de73cb7f8d3 --- /dev/null +++ b/data/study/f_0091.npz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d0cbb98fd7cf3182e41bc33eab73fd9ab96bbcdd1007f6a48ebe526562cd112 +size 11711514 diff --git a/data/study/f_0091_cir.jpg b/data/study/f_0091_cir.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cf3e7582b441d5fb03ac1470e695408f37abba60 --- /dev/null +++ b/data/study/f_0091_cir.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab732ac8524677ba872439641206b07a34b88a13e8b501ad8ae64349daa8e0e9 +size 104880 diff --git a/data/study/f_0091_mat.png b/data/study/f_0091_mat.png new file mode 100644 index 0000000000000000000000000000000000000000..d0fd753691bddb8703cfec8e25b5f685c12e9098 Binary files /dev/null and b/data/study/f_0091_mat.png differ diff --git a/data/study/f_0091_rgb.jpg b/data/study/f_0091_rgb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..45d09afbbe5619abc2fed603cf3c8e724971e4b3 Binary files /dev/null and b/data/study/f_0091_rgb.jpg differ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..505c4ccd52c449607f933200685b34da7ad6fd0d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +plotly==7.2.0 +numpy>=1.26 +pillow>=10