started unlearning setup

This commit is contained in:
2026-05-31 22:22:38 +02:00
parent 770b7be936
commit e90480adbe
10 changed files with 229 additions and 5 deletions

View File

@@ -80,6 +80,10 @@ def select_top_ids(dataset, class_size):
# split class images to train and test set.
def get_indices(dataset, identities, split_at, size = 30):
if split_at >= size: # debug safety
raise ValueError(f"Split point ({split_at}) must be less than total size ({size}).")
train_indices = []
test_indices = []