-
Notifications
You must be signed in to change notification settings - Fork 20
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
PermissionError: [Errno 13] Permission denied: '/input/images/ct/' #4
Comments
Additionally, if one adds the line
|
Can you confirm that you have downloaded the Github LFS files in the Can you also please confirm the output of the SCRIPTPATH variable: Line 5 in bab8d8f
Can you also please check that the permissions on your host system are set correctly so that the Otherwise, feel free to change this line Line 25 in bab8d8f
|
Hi, the files in the
The variable Lastly, what do you mean change the permissions for the path? Do you mean to run I think I am missing something very simple but I would be very grateful if someone points me in the right direction... |
Here is the whole stacktrace:
|
It seems I have the same issue with the LFS bandwidth as this issue #2 . Is this the cause of the |
Yes I assume so. You can simply get this |
Interestingly, this does not solve the issue. I used the conversion scripts on only one sample and used the
Adding Interestingly, if you add At this point, I am not quite sure what else to consider to fix this issue. I suspect there might be some more configurations I need to add to Docker or something in that direction. Any help would be appreciated. |
It seems that docker is the culprit here. Please try to mount the directory in a different docker container, e.g. an ubuntu system like this:
Once you have then a shell inside this container (above command), set the ownership and permissions of this folder to root and read/write access for everybody else:
Now you can test it again with the |
Hi, thanks for the assistance! It seems that I cannot change the ownership even through the shell in this container. I get the
|
Could you provide more information on your host system and operation system that you try to run docker from? Please try to set the permissions |
OS
GPU
FIle system
UID, GUID
I suspect the problem with permission might be coming from the User or Group IDs. If you need any other host system info, just let me know. |
I assume that this is a UID/GID mismatch and priviliges problem. Since you are sudoer on your machine, can't you just set the permissions for the folders directly? Can you check that your docker config folder has the correct permissions:
Alternatively could you try running docker with sudo? Please check the following blog to see if that solves your problem: https://www.fullstaq.com/knowledge-hub/blogs/docker-and-the-host-filesystem-owner-matching-problem |
I have the same issue. I did all the solutions you said. Without sudo the result is:
And with sudo:
|
@sepidehamiri It seems that for you the container is running (with sudo call), but is throwing an error inside?! Can you please confirm that you downloaded the GIT LFS image files? |
If I understand correctly, yes, I have all the weights and files with the original size after cloning, so I have correctly downloaded the GIT LFS image files. |
okay, it seems that you either have no GPU installed in your system or that docker is not exporting your GPU to the inside of the container:
You would need to sort this out. |
Hi there,
thanks for the great challenge! I am having some trouble with getting the baseline U-Net Docker container to run. I have modified nothing and am just running the following command:
./test.sh
from the
autoPET/uNet_baseline
directory. I get the following error:It is a bit odd that
os.listdir()
is throwing aPermissionError
. What could this be caused by? I am somewhat new to Docker, so this could be a very obvious error, but I would appreciate any help!The text was updated successfully, but these errors were encountered: