Skip to content

Commit

Permalink
update classify_mmdetection_mitosis_eval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dummyindex committed Nov 1, 2023
1 parent 565785a commit 55e4897
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions notebooks/classify_mmdetection_mitosis_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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])
Expand Down

0 comments on commit 55e4897

Please sign in to comment.