sps44 commited on
Commit
c591852
1 Parent(s): 457c342

update layout

Browse files
Files changed (4) hide show
  1. Dockerfile +1 -1
  2. esc50-layout.json +0 -1
  3. run.py +1 -1
  4. spotlight-layout.json +1 -0
Dockerfile CHANGED
@@ -16,6 +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
- COPY --chown=user --chmod=0755 esc50-layout.json .
20
 
21
  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 spotlight-layout.json .
20
 
21
  CMD ["./run.py"]
esc50-layout.json DELETED
@@ -1 +0,0 @@
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
@@ -107,5 +107,5 @@ if __name__ == "__main__":
107
 
108
 
109
  spotlight.show(
110
- ds, host="0.0.0.0", port=7860, wait="forever", dtype=dtypes, layout="esc50-layout.json", analyze=False
111
  )
 
107
 
108
 
109
  spotlight.show(
110
+ ds, host="0.0.0.0", port=7860, wait="forever", dtype=dtypes, layout="spotlight-layout.json", analyze=False
111
  )
spotlight-layout.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"orientation":"horizontal","children":[{"kind":"split","weight":20.90135407187644,"orientation":"vertical","children":[{"kind":"tab","weight":50,"children":[{"kind":"widget","name":"Compund per driver","type":"histogram","config":{"columnKey":"Driver","stackByColumnKey":"Compound","filter":false}}]},{"kind":"tab","weight":50,"children":[{"kind":"widget","name":"Table","type":"table","config":{"tableView":"full","visibleColumns":["Time","Driver","DriverNumber","LapTime","LapNumber","Stint","PitOutTime","PitInTime","Sector1Time","Sector2Time","Sector3Time","Sector1SessionTime","Sector2SessionTime","Sector3SessionTime","SpeedI1","SpeedI2","SpeedFL","SpeedST","IsPersonalBest","Compound","TyreLife","FreshTyre","Team","LapStartTime","LapStartDate","TrackStatus","Position","Deleted","DeletedReason","FastF1Generated","IsAccurate","RPM_emb","RPM"],"sorting":null,"orderByRelevance":false,"dataGridColumnWidths":{"Time":110}}}]}]},{"kind":"split","weight":22.424806077887105,"orientation":"vertical","children":[{"kind":"tab","weight":50,"children":[{"kind":"widget","name":"Similarity on brake pattern","type":"similaritymap","config":{"placeBy":["Brake_emb"],"reductionMethod":null,"colorBy":"TyreLife","sizeBy":"","filter":false,"umapNNeighbors":20,"umapMetric":"cosine","umapMinDist":0.15,"pcaNormalization":null,"umapMenuLocalGlobalBalance":null,"umapMenuIsAdvanced":false}}]},{"kind":"tab","weight":50,"children":[{"kind":"widget","name":"Scatter Plot","type":"scatterplot","config":{"xAxisColumn":"LapNumber","yAxisColumn":"LapTime","colorBy":"Driver"}}]}]},{"kind":"tab","weight":33.47703193056004,"children":[{"kind":"widget","name":"Inspector","type":"inspector","config":{"views":[{"view":"ImageView","columns":["portrait"],"name":"view","key":"2e64d7f9-41af-4c6d-bdc7-5b830d59986d"},{"view":"SequenceView","columns":["Brake","Speed"],"name":"view","key":"7af549c6-d949-4122-ac8a-4106cb3bacb2"},{"view":"ImageView","columns":["gear_vis"],"name":"view","key":"0ca80913-2dae-4217-9e1a-cd43b0254549"},{"view":"ScalarView","columns":["LapTime"],"name":"view","key":"68ab48a1-6a54-4f3c-92b6-20bfd2558aa6"}],"visibleColumns":4}}]}]}