Hello, I’m currently using a code to learn RGB images of 256x256 size using Xception.
This time, I found and used the code to learn using Patch Processing. Thanks to this post 2, I succeeded in dividing the sensor into patches, but as the number of patches parameter was used, the 4-dimensional sensor became 5-dimensional, making it difficult to learn. I searched, but there were many 4D-3D transformations, but I couldn’t find any 4D-5D transformations. I wonder how to use Xception as it is by maintaining the preprocessed patch information.

I’m learning using Pytorch now, but any solution is fine. Please understand that my translation is not good.