Skip to content

Deprecated manual_seed #28

@Sukanyasingh3

Description

@Sukanyasingh3

In the train_coco.py code, the line torch.cuda.manual_seed(123) uses manual_seed, which is deprecated. Instead, you can use manual_seed_all.

   torch.cuda.manual_seed_all(123) if torch.cuda.is_available() else torch.manual_seed(123)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions