Skip to content

Commit 1e6db6b

Browse files
authored
Merge branch 'main' into MMathisLab/train-val-comment
2 parents f37a416 + b713387 commit 1e6db6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cebra/data/assets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def download_file_with_progress_bar(url: str,
9393
)
9494

9595
# Create the directory and any necessary parent directories
96-
location_path.mkdir(exist_ok=True)
96+
location_path.mkdir(parents=True, exist_ok=True)
9797

9898
filename = filename_match.group(1)
9999
file_path = location_path / filename

cebra/integrations/matplotlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def _to_heatmap_format(
684684
else:
685685
heatmap_values[i, j] = score_dict[label_i, label_j]
686686

687-
return np.minimum(heatmap_values * 100, 99)
687+
return heatmap_values * 100
688688

689689
def _create_text(self):
690690
"""Create the text to add in the confusion matrix grid and the title."""

0 commit comments

Comments
 (0)