open-mmlab/mmsegmentation

Too much GPU memory consumption and seems wrong

Open

#3,167 opened on Jul 6, 2023

View on GitHub
 (18 comments) (0 reactions) (0 assignees)Python (2,386 forks)batch import
good first issue

Repository metrics

Stars
 (6,867 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

When I use resnet101 with deeplabv3+ in this lib 'https://github.com/VainF/DeepLabV3Plus-Pytorch', I can train for 40 batch size on 2 GPUs, 20 batch size for each GPU, and it consumes about 36 GB. However, when I use your lib, for 2 batch size on 1 GPUs, it consumes about 15 GB

Contributor guide