mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-26 01:09:19 +00:00
Added bucketting capabilities to dataloader. Finally have full planned capability. noice
This commit is contained in:
@@ -169,6 +169,7 @@ class DatasetConfig:
|
||||
self.resolution: int = kwargs.get('resolution', 512)
|
||||
self.scale: float = kwargs.get('scale', 1.0)
|
||||
self.buckets: bool = kwargs.get('buckets', False)
|
||||
self.bucket_tolerance: int = kwargs.get('bucket_tolerance', 64)
|
||||
self.is_reg: bool = kwargs.get('is_reg', False)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user