Vectorizer for Xtrasnformer

4 views
Skip to first unread message

Ball

unread,
Jan 15, 2026, 1:16:02 PM (2 days ago) Jan 15
to Annif Users
Hi all,
We ran into a weird issue when trying to do evaluation on a trained Xtransformer model. Annif is giving us the follwing error:
File "/usr/local/lib/python3.12/site-packages/joblib/numpy_pickle.py", line 650, in load
   with open(filename, 'rb') as f:
        ^^^^^^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: 'data/projects/xtransformer-event-en/vectorizer'
 

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,

Lucaslocal_machine.pnghpcc_machine.png

Reply all
Reply to author
Forward
0 new messages