You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "tools/train.py", line 166, in
main()
File "tools/train.py", line 162, in main
runner.train()
File "/home/envs/mmdet3.0_env/mmengine_v0.8.4/mmengine/runner/_flexible_runner.py", line 1198, in tra[41/1450]
model = self.train_loop.run() # type: ignore
File "/home/envs/mmdet3.0_env/mmengine_v0.8.4/mmengine/runner/loops.py", line 102, in run
self.runner.val_loop.run()
File "/home/envs/mmdet3.0_env/mmengine_v0.8.4/mmengine/runner/loops.py", line 366, in run
metrics = self.evaluator.evaluate(len(self.dataloader.dataset))
File "/home/envs/mmdet3.0_env/mmengine_v0.8.4/mmengine/evaluator/evaluator.py", line 79, in evaluate
_results = metric.evaluate(size)
File "/home/envs/mmdet3.0_env/mmengine_v0.8.4/mmengine/evaluator/metric.py", line 133, in evaluate
_metrics = self.compute_metrics(results) # type: ignore
File "/home/envs/mmdet3.0_env/mmpretrain_v1.0.2/mmpretrain/evaluation/metrics/caption.py", line 90, in comput$ metrics
coco_val = coco_caption_eval(eval_result_file, self.ann_file)
File "/home/envs/mmdet3.0_env/mmpretrain_v1.0.2/mmpretrain/evaluation/metrics/caption.py", line 130, in coco$
aption_eval
coco_eval.evaluate()
File "/home/.local/lib/python3.8/site-packages/pycocoevalcap/eval.py", line 33, in evaluate
gts = tokenizer.tokenize(gts)
File "/home/.local/lib/python3.8/site-packages/pycocoevalcap/tokenizer/ptbtokenizer.py", line 52, in tokenize
p_tokenizer = subprocess.Popen(cmd, cwd=path_to_jar_dirname, \
File "/home/.conda/envs/lisa/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/.conda/envs/lisa/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'java'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
在跑COCOCaption的evaluation时报java的错,请问如何解决呢, 试了把java的路径export PATH也不work
Beta Was this translation helpful? Give feedback.
All reactions