Skip to content

RutimeError:CUDA out of memory. when i training on COCO train2017 dataset #32

Open

Description

@houshuaishuai

when i run python tools/train.py --cfg experiments/coco/w32/w32_4x_reg03_bs10_512_adam_lr1e-3_coco_x140.yaml
RuntimeError: CUDA out of memory. Tried to allocate 86.00 MiB (GPU 0; 10.91 GiB total capacity; 9.39 GiB already allocated; 125.50 MiB free; 9.48 GiB reserved in total by PyTorch) , i didn't find batch_size in the w32_4x_reg03_bs10_512_adam_lr1e-3_coco_x140.yaml? is there anything else that need to be modified?

Activity

  1. AgntBrwr commented on Jun 1, 2022

    @AgntBrwr

    Images per GPU (for training) can be lowered in that file as a solution

  2. wusaisa commented on Oct 30, 2023

    @wusaisa

    I had the same problem as you, did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions