ServiceNow / picard

PICARD - Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models. PICARD is a ServiceNow Research project that was started at Element AI.
https://arxiv.org/abs/2109.05093
Apache License 2.0
341 stars 122 forks source link

Permission denied when runing the training script #115

Closed nzjin closed 2 years ago

nzjin commented 2 years ago

I ran "make train" command, and the following errors were thrown out. Do anyone know how to fix it?

Traceback (most recent call last): File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_init.py", line 951, in init wi.setup(kwargs) File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_init.py", line 242, in setup self._log_setup(settings) File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/wandb_init.py", line 375, in _log_setup filesystem._safe_makedirs(os.path.dirname(settings.log_user)) File "/opt/conda/lib/python3.7/site-packages/wandb/sdk/lib/filesystem.py", line 11, in _safe_makedirs os.makedirs(dir_name) File "/opt/conda/lib/python3.7/os.py", line 213, in makedirs makedirs(head, exist_ok=exist_ok) File "/opt/conda/lib/python3.7/os.py", line 223, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/app/wandb/

It seems like I don't have permission to access "/app/wandb/" directory, but I observed that ""mkdir -p -m 777 wandb" had been executed to allow all users to access "wandb" directory. Do I miss something?