big bug... not unique imaged :D

This commit is contained in:
Till Raab 2023-10-26 08:56:43 +02:00
parent efd860a127
commit 9905b6039e
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,9 @@ class CustomDataset(Dataset):
self.dir_path = dir_path
self.bbox_df = bbox_df
embed()
quit()
self.all_images = np.array(sorted(self.bbox_df['image']), dtype=str)
self.image_paths = list(map(lambda x: Path(self.dir_path)/x, self.all_images))
# embed()

View File

@ -63,7 +63,6 @@ if __name__ == '__main__':
test_data = create_train_or_test_dataset(TRAIN_DIR, train=False)
test_loader = create_valid_loader(test_data)
infere_model(test_loader, model)
# detection_threshold = 0.8