Skip to content

多卡验证时,卡数不同验证的map不同 #119

@ffxxy

Description

@ffxxy

我用4卡训练,去最好的pth进行验证,4卡时是20.5,单卡时是16.2,8卡时是16.4,为什么会出现这种问题,没有改过验证代码。
验证命令:CUDA_VISIBLE_DEVICES=0,1,2,3 torchrun --master_port=7777 --nproc_per_node=4 train.py --test-only,此时是20.5,

Image 单卡时的验证结果: Image

我非常震惊和疑惑,我应该相信哪个???

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