Skip to content
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: '/data1' #85

Open
Deerzh opened this issue Jul 27, 2022 · 0 comments
Open

PermissionError: [Errno 13] Permission denied: '/data1' #85

Deerzh opened this issue Jul 27, 2022 · 0 comments

Comments

@Deerzh
Copy link

Deerzh commented Jul 27, 2022

when I run this command: python -m ssds.utils.visualize -cfg experiments/cfgs/tests/test.yml, it occurred an error like this:

Traceback (most recent call last):
File "/home/zhang/anaconda3/envs/ssds/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/zhang/anaconda3/envs/ssds/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/zhang/compatibility_analysis/ssds.pytorch/ssds/utils/visualize.py", line 55, in
data_loader = load_data(cfg.DATASET, "train")
File "/home/zhang/compatibility_analysis/ssds.pytorch/ssds/dataset/dataset_factory.py", line 63, in load_data
training=training,
File "/home/zhang/compatibility_analysis/ssds.pytorch/ssds/dataset/dali_coco.py", line 41, in init
os.makedirs(self.cache_path)
File "/home/zhang/anaconda3/envs/ssds/lib/python3.7/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zhang/anaconda3/envs/ssds/lib/python3.7/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zhang/anaconda3/envs/ssds/lib/python3.7/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/zhang/anaconda3/envs/ssds/lib/python3.7/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/data1'

Can you help me fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant