sps44 commited on
Commit
9395418
1 Parent(s): 12495d7

change layout

Browse files
Files changed (4) hide show
  1. Dockerfile +1 -0
  2. README.md +2 -2
  3. esc50-layout.json +1 -0
  4. run.py +1 -1
Dockerfile CHANGED
@@ -16,5 +16,6 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
16
  RUN pip install --no-cache-dir --upgrade "renumics-spotlight==${SPOTLIGHT_VERSION}"
17
 
18
  COPY --chown=user --chmod=0755 run.py .
 
19
 
20
  CMD ["./run.py"]
 
16
  RUN pip install --no-cache-dir --upgrade "renumics-spotlight==${SPOTLIGHT_VERSION}"
17
 
18
  COPY --chown=user --chmod=0755 run.py .
19
+ COPY --chown=user --chmod=0755 esc50-layout.json .
20
 
21
  CMD ["./run.py"]
README.md CHANGED
@@ -1,11 +1,11 @@
1
  ---
2
- title: Spotlight Speech Commands
3
  emoji: 🎙️
4
  colorFrom: indigo
5
  colorTo: green
6
  sdk: docker
7
  app_port: 7860
8
- datasets: [speech_commands, renumics/speech_commands-ast-finetuned-results]
9
  tags: [renumics, spotlight, EDA, enriched, data-centric-ai, viewer]
10
  pinned: false
11
  license: mit
 
1
  ---
2
+ title: ESC50 CLAP Model Debug
3
  emoji: 🎙️
4
  colorFrom: indigo
5
  colorTo: green
6
  sdk: docker
7
  app_port: 7860
8
+ datasets: [renumics/esc50, renumics/esc50-clap2023-results]
9
  tags: [renumics, spotlight, EDA, enriched, data-centric-ai, viewer]
10
  pinned: false
11
  license: mit
esc50-layout.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"orientation":"vertical","children":[{"kind":"split","weight":0.832701222081753,"orientation":"horizontal","children":[{"kind":"split","weight":33.225638353309016,"orientation":"vertical","children":[{"kind":"tab","weight":0.15145368492224473,"children":[{"kind":"widget","name":"Accuracy","type":"Metric","config":{"metric":"accuracy","columns":["label","prediction"]}}]},{"kind":"tab","weight":0.5152129817444219,"children":[{"kind":"widget","name":"Table","type":"table","config":{"tableView":"full","visibleColumns":null,"sorting":null,"orderByRelevance":false}}]}]},{"kind":"tab","weight":22.0310998657028,"children":[{"kind":"widget","name":"Histogram","type":"histogram","config":{"stackByColumnKey":"pred_incorrect"}}]},{"kind":"tab","weight":24.74326178098818,"children":[{"kind":"widget","name":"Embedding","type":"similaritymap","config":{"placeBy":["audio_embedding"],"reductionMethod":null,"colorBy":"label","sizeBy":null,"filter":false,"umapNNeighbors":20,"umapMetric":null,"umapMinDist":0.15,"pcaNormalization":null,"umapMenuLocalGlobalBalance":null,"umapMenuIsAdvanced":false}}]}]},{"kind":"tab","weight":0.5006321112515802,"children":[{"kind":"widget","name":"Inspector","type":"inspector","config":{"views":[{"view":"AudioView","columns":["audio"],"name":null,"key":"29c9aeb9-45d4-4e0b-ad90-d6ed1fcf8cdf"},{"view":"ScalarView","columns":["label"],"name":null,"key":"a7a61751-a78c-4de6-9494-cd745793bea0"},{"view":"ScalarView","columns":["prediction"],"name":null,"key":"a30cad6d-c633-4600-b936-3395895b25d1"}],"visibleColumns":4}}]}]}
run.py CHANGED
@@ -101,5 +101,5 @@ if __name__ == "__main__":
101
 
102
 
103
  spotlight.show(
104
- ds, host="0.0.0.0", port=7860, wait="forever", dtype=dtypes, layout=spotlight.layouts.debug_classification(embedding='embedding', inspect={'audio': spotlight.dtypes.audio_dtype}), analyze=True
105
  )
 
101
 
102
 
103
  spotlight.show(
104
+ ds, host="0.0.0.0", port=7860, wait="forever", dtype=dtypes, layout="esc50-layout.json", analyze=False
105
  )