Thanks to visit codestin.com
Credit goes to github.com

Skip to content

how to use the new api in cross validation #392

@raven4752

Description

@raven4752

Hi,
As indicated in the document, the amp.initialize() should be called once. But in cross validation, models need to be created in different folds, and creating them before CV requires extra effort. So what is the suggested way to use amp.initialize() with cross validation? I tried to call initialize() multiple times but the gpu memory seems leakaging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions