Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhmiao committed Jul 19, 2024
1 parent bb865b0 commit 02f2a4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PW_FT_classification/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ def main(
train_annotations = os.path.join(conf.dataset_root, 'train_annotations.csv')
test_annotations = os.path.join(conf.dataset_root, 'test_annotations.csv')
val_annotations = os.path.join(conf.dataset_root, 'val_annotations.csv')
# Split training data
# Crop training data
batch_detection_cropping.batch_detection_cropping(conf.dataset_root, os.path.join(conf.dataset_root, "cropped_resized"), train_annotations)
# Split validation
# Crop validation data
batch_detection_cropping.batch_detection_cropping(conf.dataset_root, os.path.join(conf.dataset_root, "cropped_resized"), val_annotations)
# Split test (most likely we don't need this)
# Crop test data (most likely we don't need this)
batch_detection_cropping.batch_detection_cropping(conf.dataset_root, os.path.join(conf.dataset_root, "cropped_resized"), test_annotations)

# Dataset and algorithm loading based on the configuration
Expand Down

0 comments on commit 02f2a4d

Please sign in to comment.