qubvel-org / segmentation_models.pytorch

Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.
https://smp.readthedocs.io/
MIT License
9.52k stars 1.66k forks source link

ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm) ?? #172

Closed edwardcho closed 2 years ago

edwardcho commented 4 years ago

I tested your sample code.

source code : https://github.com/qubvel/segmentation_models/blob/master/examples/multiclass%20segmentation%20(camvid).ipynb

I met this error. .. Epoch: 0 train: 2%|██▋ | 1/46 [00:01<01:10, 1.56s/it, dice_loss - 0.9637, iou_score - 0.01636]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). ...

I couln't find the reason.....

TimbusCalin commented 3 years ago

This is because of the Docker .... ensure you specify the parameter shmsize = 4G for example.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 7 days with no activity.