When having tuples of length one in "combine_layers", combine_layers_ds throws an error. Maybe specify in function description or add line of code to handle: combine_layers = [t for t in combine_layers if len(t) > 1]
When having tuples of length one in "combine_layers", combine_layers_ds throws an error.
Maybe specify in function description or add line of code to handle:
combine_layers = [t for t in combine_layers if len(t) > 1]