Is there option way to use fillcolor as nearesr values?

Hi,

It seems like when doing augmentation in Pytorch it’s possible to perform fillcolor using one predetermined tuple only. Keras allows doing that with the nearest value, as depicted here:

I’ll copy the relevant part that shows what it does:
‘nearest’: aaaaaaaa|abcd|dddddddd

Is there any option to do the same in Pytorch?

Thanks :slight_smile: