MaxUnpool needs "indices" that are returned by MaxPool but the first is located in the decoder and the second is in the encoder thus all direct calls of starter code to encoder and decoder do not support the indices transportation from Pool to Unpool
Possible solutions:
- do not use direct calls for counting code/reconstruction
- request both code and reconstruction using one function call