tjuHaoXiaotian/pymarl3

PermissionError: [Errno 13] Permission denied

strivebfq opened this issue · 0 comments

[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?