Skip to content

Commit 5eaded4

Browse files
committed
fix(stats): fix attribute error while plotting manifold
1 parent bddea20 commit 5eaded4

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

tools/stats/dataset_reporter/image_reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def generate_visual_report(
8585
f"corr_{name}.png")
8686

8787
# UMAP manifold projection
88-
StatsPlotter.plot_dataset_manifold(df, features, class_col, destination, n_jobs=self.settings.n_jobs)
88+
StatsPlotter.plot_dataset_manifold(df=df, class_col=class_col, destination=destination)
8989

9090
def show_console_report(self, df: pd.DataFrame, target_format: str) -> None:
9191
"""

tst_commands.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@
5656
Commands.stats: [
5757
"data_forge.py",
5858
"stats",
59-
"./media/annotated/",
60-
"-p", ".txt",
61-
"--destination-type", "yolo",
59+
"./media/Pascal VOC 2012.v1-raw.voc/",
60+
# "./media/annotated/",
61+
"-p", ".xml",
62+
"--destination-type", "voc",
6263
]
6364
}
6465

0 commit comments

Comments
 (0)