Fix `torch._dynamo` errors
Closes #268 (closed)
On our servers:
teklia-dan predict \
--image-dir /home/users/starride/HTR/dan/dan_dataset_debug/ \
--model /home/users/starride/HTR/dan/dan_dataset_debug/ \
--output /home/users/starride/HTR/dan/dan_dataset_debug/test/ \
--compile-model
Edited by Manon Blanco