What does this error mean? IncorrectArgumentsError: Should not specify both keep_size and samples arguments. See the docstring of the samples argument for more details

Yes, this seems to be a common problem (I am just now struggling with a similar issue).

Note that the intention is to remove both keywords, cf.

1 Like