-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected write permission required for general/last.pt
?
#23
Comments
Hi @BioinfoTongLI, I tried to replicate by using a read-only cache directory and having the model placed there beforehand but it seems to load normally. Could you paste here the relevant Dockerfile lines (e.g. copying the model to the dir)? Is the model unzipped by the dockerfile or it just transfers the zip? |
Hi @AlbertDominguez, sure! many thanks for your reply! Here's the actually error mesage.
I will try to find out if it's a singularity-specific issue. |
Hi @BioinfoTongLI , I think I found the culprit! We were automatically unzipping the model files (which are downloaded as a bundled zip file) each time, even if it had been unzipped before. I just pushed a fix so that unzipping happens only if the resulting folder does not exist yet, so nothing should be tried to be written. I unfortunately do not have a singularity setup, but could you try to install from the latest commit? If that works I'll release to PyPi with the fix. |
Describe the bug
spotiflow asks for writing permissions in the folder of pretrained models.
This is raising an issue when the pretrained models is downloaded into a container, where it's ready-only
exepcted behaviour
Spotiflow should just load the models from the directory and not try to write anything there(?)
To Reproduce
run a standard prediction with
general
modelEnvironment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: