From 55e48971a8c918c04f8f138e929e66b7d9b5478b Mon Sep 17 00:00:00 2001 From: dummyindex Date: Tue, 31 Oct 2023 20:41:53 -0400 Subject: [PATCH] update classify_mmdetection_mitosis_eval.py --- notebooks/classify_mmdetection_mitosis_eval.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/notebooks/classify_mmdetection_mitosis_eval.py b/notebooks/classify_mmdetection_mitosis_eval.py index 5b175d1..5529823 100644 --- a/notebooks/classify_mmdetection_mitosis_eval.py +++ b/notebooks/classify_mmdetection_mitosis_eval.py @@ -67,7 +67,7 @@ parser.add_argument( "--mmaction_data_tsv", type=str, - help="Path to the mmaction data tsv file", + help="[Deprecated] Path to the mmaction data tsv file", default=r"./notebook_results/mmaction_train_data_v13-inclusive-corrected/mmaction_test_data_all.txt", ) parser.add_argument( @@ -112,11 +112,6 @@ print(test_data_df.shape) test_data_df[:2] -# mmaction df columns are path and label -mmaction_data_df = pd.read_csv(mmaction_data_tsv, sep=" ", header=None) -mmaction_data_df.columns = ["path", "label"] -print(mmaction_data_df.shape) -mmaction_data_df[:2] from tqdm import tqdm print("test data frame:", test_data_df.columns[:2])