Change all losses, data augmentation and architectures to functions

parent bdbc9988
Pipeline #13145 failed with stages
in 3 minutes and 48 seconds