Closed auesro closed 2 months ago
Solved it by changing: models.models_path
to my local folder
Just wanted to re-raise this issue since I had the same problem and it took me quite a while to figure it out. I am running CellTypist on a cluster, and my default model path is "/cluster/home/user/.celltypist/data/models" My output (including models) are stored in a project directory, under "/cluster/projects/projectname/CellTypist/models" When I specify the full filepath to a pre-trained model (e.g., with celltypist.models.Model.load()), I get the message "No available models, Downloading..." and celltypist attempts to download models. This is only resolved by changing models.models_path to my project folder. A possible solution might be inferring the appropriate models.models_path from the filename?
Thank you, Daniel
@dstueckm, do you mind pasting your complete error message here?
This should have been solved now.
Dear celltypist team,
I have created my own model through training using
celltypist.train
, saved it to a local folder withmodel.write
but now, I don't seem to be able to load it withmodels.Model.load
even if I pass the full path to it...What is going on? I dont understand why is it not looking for it in the correct path I provided...
Thanks,
A