Joschka Strueber commited on
Commit
90b2246
·
1 Parent(s): fbb8c61

[Fix] debugging

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -13,6 +13,10 @@ def create_heatmap(selected_models, selected_dataset):
13
  similarities = (similarities + similarities.T) / 2 # Make symmetric
14
  similarities = np.round(similarities, 2) # Round for clarity
15
 
 
 
 
 
16
  # Create the heatmap figure
17
  fig = go.Figure(data=go.Heatmap(
18
  z=similarities,
 
13
  similarities = (similarities + similarities.T) / 2 # Make symmetric
14
  similarities = np.round(similarities, 2) # Round for clarity
15
 
16
+ print(f"Generated heatmap with {len(selected_models)} models")
17
+ print("Sample coordinates:", selected_models[:2])
18
+ print("Sample similarity value:", similarities[0][0])
19
+
20
  # Create the heatmap figure
21
  fig = go.Figure(data=go.Heatmap(
22
  z=similarities,