We ran Annif on our own library server as well as on our campus HPCC machine. We use the same dataset, project config on both machines but we use docker container for our local library machine but have to use singularity for the install on campus machine. Training on our own server creates the vectorizer as a file but campus machine creates it as a directory (see attached images). The evaluation fails and gives us the above error if we run it on the model trained on campus machine. Did anyone run into this error? or have suggestions to troubleshoot it?
Thank,
Lucas

It appears the issue stems from a version discrepancy between your local Docker environment and the campus HPCC Singularity container.
The PECOS integration for the X-Transformer backend recently switched to using the native PECOS vectorizer, which offers significantly better performance than the previous implementation. A key difference in this update is how the model is stored:
Older versions: Saved the vectorizer as a single file (using joblib/numpy_pickle).
Newer versions: Save the vectorizer as a directory containing multiple PECOS artifacts.
Lakshmi Rajendram Bashyam
Angewandte Forscherin// Automatisierung der Sacherschließung
Applied researcher // Automation of Subject Indexing
Neuer Jungfernstieg 21
20354 Hamburg
T: +49 176 29139271
E: l.rajendr...@zbw.eu