aidotse / LeakPro

Apache License 2.0
5 stars 4 forks source link

transform is applied twice to data set for CIFAR10 and CIFAR100 #156

Open rickardbrannvall opened 1 month ago

rickardbrannvall commented 1 month ago

Feature

Normalising transform is applied twice to data set for CIFAR10 and CIFAR100.

Desired Behavior / Functionality

It seems necessary to apply normalising transform twice, but probably not harmful.

What Needs to Be Done

Remove one of the transform applications in get_cifar10_dataset function in data_preparation.py in dev_utils

How Can It Be Tested

N/A

johanos1 commented 1 month ago

I think these functions are obsolete. We will remove all code outside of ./leakpro and ./examples once the MIA and FL examples on CIfAR is running.