Closed Rob174 closed 3 years ago
2 choices:
__call__
method of Patch_creator0
to return only one of the patches of the image
--> necessity to have ids specifying which patch to pick. Does not avoid multiple read of the same image=> solution 1
Problem: The code can not know how many patches are available per images at commit cadd357109a685a31ee9c1b37b5f026c48f546b4
Solved by calculating the number thanks to grid_size and shape of the original image. Ok at commit 32f63f0fa66f722d4550c3807ac8d398cbbe6e92
Problem: 1 image = x patches. How to reduce memory and computations consumption ?
Note: patches are generated on the fly at commit cadd357109a685a31ee9c1b37b5f026c48f546b4