Spaces:
Runtime error
Runtime error
Commit
·
b55d469
1
Parent(s):
4e06bd3
link to the new experiment
Browse files- charts.py +5 -7
- dashboard_utils/main_metrics.py +1 -1
charts.py
CHANGED
|
@@ -7,15 +7,12 @@ from streamlit_observable import observable
|
|
| 7 |
|
| 8 |
def draw_current_progress():
|
| 9 |
source = get_main_metrics()
|
| 10 |
-
|
| 11 |
st.vega_lite_chart(
|
| 12 |
source, {
|
| 13 |
"height": 200,
|
| 14 |
-
"title":
|
| 15 |
-
|
| 16 |
-
# ^-- WARNING: do not use long titles, otherwise vega collapses on small screens
|
| 17 |
-
"dy": 6,
|
| 18 |
-
},
|
| 19 |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
|
| 20 |
"description": "Current training progress",
|
| 21 |
"encoding": {"x": {"field": "wall time", "type": "temporal"}},
|
|
@@ -26,7 +23,8 @@ def draw_current_progress():
|
|
| 26 |
"mark": {"type": "line", "point": {"tooltip": True, "filled": False, "strokeOpacity": 0},
|
| 27 |
"color": "#85A9C5"},
|
| 28 |
"encoding": {
|
| 29 |
-
"y": {"field": "training loss", "type": "quantitative", "axis": {"titleColor": "#85A9C5"}
|
|
|
|
| 30 |
},
|
| 31 |
{
|
| 32 |
"mark": {"type": "line", "point": {"tooltip": True, "filled": False, "strokeOpacity": 0.0},
|
|
|
|
| 7 |
|
| 8 |
def draw_current_progress():
|
| 9 |
source = get_main_metrics()
|
| 10 |
+
st.title("") # which is actually a backend-agnostic offset
|
| 11 |
st.vega_lite_chart(
|
| 12 |
source, {
|
| 13 |
"height": 200,
|
| 14 |
+
"title": "Training DALL-E with volunteers",
|
| 15 |
+
# ^-- WARNING: do not use long titles, otherwise vega collapses on small screens
|
|
|
|
|
|
|
|
|
|
| 16 |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
|
| 17 |
"description": "Current training progress",
|
| 18 |
"encoding": {"x": {"field": "wall time", "type": "temporal"}},
|
|
|
|
| 23 |
"mark": {"type": "line", "point": {"tooltip": True, "filled": False, "strokeOpacity": 0},
|
| 24 |
"color": "#85A9C5"},
|
| 25 |
"encoding": {
|
| 26 |
+
"y": {"field": "training loss", "type": "quantitative", "axis": {"titleColor": "#85A9C5"},
|
| 27 |
+
"scale": {"zero": False}}},
|
| 28 |
},
|
| 29 |
{
|
| 30 |
"mark": {"type": "line", "point": {"tooltip": True, "filled": False, "strokeOpacity": 0.0},
|
dashboard_utils/main_metrics.py
CHANGED
|
@@ -7,7 +7,7 @@ import wandb
|
|
| 7 |
|
| 8 |
from dashboard_utils.time_tracker import _log, simple_time_tracker
|
| 9 |
|
| 10 |
-
WANDB_REPO = "learning-at-home/
|
| 11 |
CACHE_TTL = 120 # note: in the text, we claim that this plot is updated every few minutes
|
| 12 |
|
| 13 |
|
|
|
|
| 7 |
|
| 8 |
from dashboard_utils.time_tracker import _log, simple_time_tracker
|
| 9 |
|
| 10 |
+
WANDB_REPO = "learning-at-home/dalle-hivemind"
|
| 11 |
CACHE_TTL = 120 # note: in the text, we claim that this plot is updated every few minutes
|
| 12 |
|
| 13 |
|