WSL2のUbuntu上で走らせたコードが以下のようなエラーを吐きます。
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
Traceback (most recent call last):
File "demo.py", line 383, in <module>
main(args)
File "demo.py", line 94, in main
tracking_results = mot(image_folder)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/multi_person_tracker/mpt.py", line 194, in call
trackers = self.run_tracker(dataloader)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 49, in decorate_no_grad
return func(*args, **kwargs)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/multi_person_tracker/mpt.py", line 78, in run_tracker
predictions = self.detector(batch)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 49, in decorate_no_grad
return func(*args, **kwargs)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/yolov3/yolo.py", line 69, in call
detections = self.model(inp_batch)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/yolov3/models.py", line 252, in forward
x = module(x)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/nn/modules/container.py", line 100, in forward
input = module(input)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/nn/modules/batchnorm.py", line 107, in forward
exponential_average_factor, self.eps)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/nn/functional.py", line 1670, in batch_norm
training, momentum, eps, torch.backends.cudnn.enabled
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 356) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.
Exception ignored in: <function tqdm.del at 0x7f65dc3d7680>
Traceback (most recent call last):
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/tqdm/_tqdm.py", line 931, in del
self.close()
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/tqdm/_tqdm.py", line 1133, in close
self._decr_instances(self)
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/tqdm/_tqdm.py", line 496, in _decr_instances
cls.monitor.exit()
File "/root/anaconda3/envs/vibe-env/lib/python3.7/site-packages/tqdm/_monitor.py", line 52, in exit
self.join()
File "/root/anaconda3/envs/vibe-env/lib/python3.7/threading.py", line 1041, in join
raise RuntimeError("cannot join current thread")
RuntimeError: cannot join current thread
メモリ不足が示唆されていますが、タスクマネージャを観察している限り原因はそこにはないと考えています。
原因のわかる方いらっしゃいませんでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/08/01 02:34
退会済みユーザー
2020/08/01 04:18
2020/09/12 11:45