facebookresearch / facebookresearch/detectron2

why I use the default configuration file and only change the batch size to 8 ,I can't train with four 3080 Gpus ?

Open
#4,129 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
34.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

Hello,why I use the default configuration file and only change the batch size to 8 ,I can't train with four 3080 Gpus ?

1. Full runnable code or full changes you made:
```
/home/flycar/nj/detectron2/projects/Panoptic-DeepLab/configs/Cityscapes-PanopticSegmentation/Base-PanopticDeepLab-OS16.yaml
```
![图片](https://user-images.githubusercontent.com/101318355/161561874-20cb6d8a-e6c5-49da-a639-70c43a8a4b56.png)

2. What exact command you run:python train_net.py --config-file configs/Cityscapes-PanopticSegmentation/panoptic_deeplab_R_52_os16_mg124_poly_90k_bs32_crop_512_1024_dsconv.yaml --num-gpus 4
3. __Full logs__ or other relevant observations:
![图片](https://user-images.githubusercontent.com/101318355/161560279-bafadd01-9aae-4497-923e-4de54f44cb72.png)

## Environment:
The environments I configured were: ubuntu18.04, cuda 11.1, pytorch 1.10
Paste the output of the following command:
```
python train_net.py --config-file configs/Cityscapes-PanopticSegmentation/panoptic_deeplab_R_52_os16_mg124_poly_90k_bs32_crop_512_1024_dsconv.yaml --num-gpus 4

```

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced Base-PanopticDeepLab-OS16.yaml and the command's panoptic_deeplab_R_52_os16_mg124_poly_90k_bs32_crop_512_1024_dsconv.yaml configuration, then reproduce the command in the stated Ubuntu, CUDA, and PyTorch environment. Inspect the complete training logs and determine why four GPUs cannot train with batch size 8; done means the cause is identified and a reproducible configuration or documented limitation is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.