When i try to run evaluation, i just enter the sudo make eval command. When evaluating is finished, the scrits got some wrongs about:
Traceback (most recent call last):
File "seq2seq/run_seq2seq_eval.py", line 284, in <module>
main()
File "seq2seq/run_seq2seq_eval.py", line 252, in main
metric_key_prefix="eval",
File "/app/seq2seq/utils/trainer.py", line 104, in evaluate
output.metrics.update(self.compute_metrics(eval_preds))
File "/app/seq2seq/utils/spider.py", line 142, in _compute_metrics
return self.metric.compute(predictions=predictions, references=references)
File "/opt/conda/lib/python3.7/site-packages/datasets/metric.py", line 419, in compute
self.add_batch(**inputs)
File "/opt/conda/lib/python3.7/site-packages/datasets/metric.py", line 465, in add_batch
self._init_writer()
File "/opt/conda/lib/python3.7/site-packages/datasets/metric.py", line 539, in _init_writer
cache_file_name, filelock = self._create_cache_file() # get ready
File "/opt/conda/lib/python3.7/site-packages/datasets/metric.py", line 257, in _create_cache_file
filelock.acquire(timeout=timeout)
File "/opt/conda/lib/python3.7/site-packages/datasets/utils/filelock.py", line 273, in acquire
self._acquire()
File "/opt/conda/lib/python3.7/site-packages/datasets/utils/filelock.py", line 408, in _acquire
fd = os.open(self._lock_file, open_mode)
PermissionError: [Errno 13] Permission denied: '/transformers_cache/metrics/spider/both/default_experiment-1-0.arrow.lock'
What happened to the evaluation process of official github code? Could you please help me to solve it?
When i try to run evaluation, i just enter the
sudo make eval
command. When evaluating is finished, the scrits got some wrongs about:What happened to the evaluation process of official github code? Could you please help me to solve it?
I try to use these command below:
When i just use
make eval
, it still gets the permission wrong error. So i try to use`sudo make eval
, still error.Could you please help me to solve the problem?