yinterian
(yinterian)
81
In this file all transformations are defined in
here are the definition of basic transforms
transforms_basic = [RandomRotateXY(10), RandomLightingXY(0.05, 0.05)]
transforms_side_on = transforms_basic + [RandomFlipXY()]
transforms_top_down = transforms_basic + [RandomDihedralXY()]
You can easily make your own list of transforms with your own parameters.
Here is an example:
tfms = tfms_from_model(f_model, sz, aug_tfms=transforms_basic,
max_zoom=1.05)
5 Likes