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 #1

Open
strivebfq opened this issue Sep 2, 2023 · 0 comments
Open

PermissionError: [Errno 13] Permission denied #1

strivebfq opened this issue Sep 2, 2023 · 0 comments

Comments

@strivebfq
Copy link

[DEBUG 13:25:29] pymarl Stopping Heartbeat
[ERROR 13:25:29] pymarl Failed after 12:54:43!
Traceback (most recent calls WITHOUT Sacred internals):
File "main.py", line 43, in my_main
run_REGISTRY[_config['run']](_run, config, _log)
File "/home/user/code/pymarl3/src/run/run.py", line 128, in run
run_sequential(args=args, logger=logger)
File "/home/user/code/pymarl3/src/run/run.py", line 302, in run_sequential
os.makedirs(save_path, exist_ok=True)
File "/home/user/miniconda3/envs/pymarl/lib/python3.8/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/user/miniconda3/envs/pymarl/lib/python3.8/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/home/user/miniconda3/envs/pymarl/lib/python3.8/os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
[Previous line repeated 2 more times]
File "/home/user/miniconda3/envs/pymarl/lib/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'results/models/sc2_v2_10gen_terran-obs_aid=1-obs_act=0-conic_fov=0/algo=vdn-agent=rnn'

The program is the author's original program code. It seems that I have encountered insufficient permissions when saving the model. Similarly, I have also encountered insufficient permissions when reading old tb_logs or sacred files. What modification should I make at this time?

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