Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def plot_loss_rates(df, type):
|
|
27 |
#drop the column step
|
28 |
df = df.drop(columns=['Step'])
|
29 |
for col in df.columns:
|
30 |
-
y = df[col].
|
31 |
f = interp1d(np.linspace(0, 1, len(y)), y)
|
32 |
loss_rates.append(f(x))
|
33 |
fig, ax = plt.subplots()
|
|
|
27 |
#drop the column step
|
28 |
df = df.drop(columns=['Step'])
|
29 |
for col in df.columns:
|
30 |
+
y = df[col].dropna().values
|
31 |
f = interp1d(np.linspace(0, 1, len(y)), y)
|
32 |
loss_rates.append(f(x))
|
33 |
fig, ax = plt.subplots()
|