ImportError and TypeError Issues in Nougat OCR with BARTDecoder and cached_property
I’m facing issues while running an OCR process using Nougat with two different errors for two different users. The errors are related to importing cached_property
and an unexpected keyword argument cache_position
. Below are the full error messages for both cases: