# \#augmentation

**URL:** https://discourse.julialang.org/tag/augmentation/471.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [DataAugmentation error with masks](https://discourse.julialang.org/t/dataaugmentation-error-with-masks/133574)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 0\
**Last updated:** [October 31, 2025, 11:31am UTC](https://discourse.julialang.org/t/dataaugmentation-error-with-masks/133574 "2025-10-31T11:31:23Z")

</div>

Cheers, I’m receiving an error when augmenting masks prior to training a model for semantic segmentation. Consider img as RGB image matrix. Consider mask as a matrix with integer elements from 1 to 11. Code is as follow…

---

## [Accepted mask type for Augmentor.jl](https://discourse.julialang.org/t/accepted-mask-type-for-augmentor-jl/131142)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 0\
**Last updated:** [July 28, 2025, 5:56pm UTC](https://discourse.julialang.org/t/accepted-mask-type-for-augmentor-jl/131142 "2025-07-28T17:56:11Z")

</div>

Cheers, I’m a new Augmentor.jl user. Need to apply same augmentation to images and masks for training a semantic segmentation model. Augmentation of images has worked out smoothly. Issue is when augmenting masks as the …

---

## [Data augmentation question (CIFAR10)](https://discourse.julialang.org/t/data-augmentation-question-cifar10/69667)

<div class="topic-metadata">

**Author:** [@Rasmus\_Hoier](https://discourse.julialang.org/u/Rasmus_Hoier)\
**Replies:** 9\
**Last updated:** [October 17, 2021, 9:36am UTC](https://discourse.julialang.org/t/data-augmentation-question-cifar10/69667 "2021-10-17T09:36:22Z")

</div>

Hi, I am training a CNN on CIFAR10 (via Flux.DataLoader) and am trying to apply some stochastic data transformations to each batch of data at runtime. My goal is to apply the following operations to each batch I get fr…

---

## [What is the fastest dimension ordering for convolutions?](https://discourse.julialang.org/t/what-is-the-fastest-dimension-ordering-for-convolutions/46182)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 1\
**Last updated:** [January 25, 2021, 12:00pm UTC](https://discourse.julialang.org/t/what-is-the-fastest-dimension-ordering-for-convolutions/46182 "2021-01-25T12:00:57Z")

</div>

Hi! I am wondering what the fastest dimension ordering for convolution operations on the GPU using CUDNN currently is. Flux uses WHCN (column major), pytorch uses NCHW (row major) which is exactly the same. So to say, t…
