From a8a5abae42f6f42056cc27e0cf5313aab080c3a7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 27 Sep 2022 22:16:13 +0200 Subject: Various improvements, added inference script --- data/dreambooth/csv.py | 1 + 1 file changed, 1 insertion(+) (limited to 'data') diff --git a/data/dreambooth/csv.py b/data/dreambooth/csv.py index e70c068..14c13bb 100644 --- a/data/dreambooth/csv.py +++ b/data/dreambooth/csv.py @@ -117,6 +117,7 @@ class CSVDataset(Dataset): [ transforms.Resize(size, interpolation=transforms.InterpolationMode.BILINEAR), transforms.CenterCrop(size) if center_crop else transforms.RandomCrop(size), + transforms.RandomHorizontalFlip(), transforms.ToTensor(), transforms.Normalize([0.5], [0.5]), ] -- cgit v1.2.3-70-g09d2