From b7c120bf063f790c5d0e80dc82d35ba5be27d17b Mon Sep 17 00:00:00 2001 From: Joaquin Torres Bravo Date: Mon, 17 Jun 2024 12:12:59 +0200 Subject: [PATCH] Deleted print shapes --- explicability/print_shapes.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 explicability/print_shapes.py diff --git a/explicability/print_shapes.py b/explicability/print_shapes.py deleted file mode 100644 index 91a6342..0000000 --- a/explicability/print_shapes.py +++ /dev/null @@ -1,15 +0,0 @@ -import os -import numpy as np - -def print_shapes(directory): - # List all files in the directory - for file in os.listdir(directory): - if file.endswith(".npy"): - # Load the .npy file - data = np.load(os.path.join(directory, file)) - # Print the shape of the numpy array - print(f"{file}: {data.shape}") - -# Example usage: -directory_path = './output/shap_inter_values' -print_shapes(directory_path) \ No newline at end of file -- 2.24.1