Thank you so much for your help ^^
What I did is the following:
features = encoder(image)
output = decoder(features)
output


and I got the following output:
tensor([[[[-1.0373e+01, -9.2096e+00, -5.9885e+00,  ..., -5.2428e+02,
           -3.8752e+02, -4.4228e+02],
          [-2.8680e+00, -3.1839e+00, -2.2322e+00,  ..., -5.3969e+02,
           -5.8710e+02, -6.5721e+02],
          [-5.8041e+00, -6.1079e+00, -5.0006e+00,  ..., -5.9030e+02,
           -6.4768e+02, -7.5395e+02],
          ...

Do you have an idea about getting the prediction that is a paragraph from this output?
PS: The CTCloss is then computed to make the paragraph transcription and I can’t seem to figure out how it must be loaded.