Skip to content

Not enough memory: you tried to allocate 20971520 bytes #2696

@Yo295

Description

@Yo295

Sometimes when i try to train a model, it give me this error:
not enough memory: you tried to allocate 20971520 bytes
I am using an Intel i5 8400 CPU with 16gb of ram, and an AMD RX 6400 GPU (it doesn't get recognised/it's not compatible so it's not getting used)
I do know these specs aren't the best for training, but i've already made a few models with it so it should work.
Usually I just try again or restart the computer and it works but it's really persistent on a specific model i'm trying to continue training on. Anyone know why that happens and how I can fix it ? Thanks.

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