Buckets:
| import random | |
| def HorizontalFlip(batch_img, p=0.5): | |
| # (T, H, W, C) | |
| if random.random() > p: | |
| batch_img = batch_img[:, :, ::-1, ...] | |
| return batch_img | |
| def ColorNormalize(batch_img): | |
| batch_img = batch_img / 255.0 | |
| return batch_img | |
Xet Storage Details
- Size:
- 257 Bytes
- Xet hash:
- 42a576b62662a0773b23eb1af21d4c7593f9a4f1a0e87382d24194151e37ab8c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.