Augmentor icon indicating copy to clipboard operation
Augmentor copied to clipboard

'Custom' object has no attribute 'function_name'

Open hsuRush opened this issue 7 years ago • 1 comments

https://github.com/mdbloice/Augmentor/blob/5a8f6d6080ecbaa20af1a7bf2824f7fdbfd0ab94/Augmentor/Operations.py#L1971

should be

 return self.custom_function(images, **self.function_arguments)

Am I wrong?

hsuRush avatar Dec 15 '18 04:12 hsuRush

Hi @hsuRush, yes you are absolutely right. Thanks for spotting this, I will fix it right now or you could make a quick PR and I can merge it in if you want?

mdbloice avatar Dec 17 '18 09:12 mdbloice