Skip to content

关于训练精度和论文中不一致? #13

Description

@xin94wang

您好,我看到您的read.md文件里只写了训练和评估的方式,没有写测试的运行方式,所以我是先选择的训练和评估,得到了训练的权重文件后去将main.py中的parser.add_argument('--vis', action='store_true', default=False, help='Visualize localization map (default: False)')修改成parser.add_argument('--vis', action='store_true', default=True, help='Visualize localization map (default: False)'),然后去将trainer.py中的def test(self, vis=False, checkpoint_path=None):修改成def test(self, vis=True, checkpoint_path=True):,然后我再次运行main.py,在mvtec ad数据集上得到了我以为的测试结果和可视化热图,但是Mean Image-AUC: 0.976,Mean Pixel-AUC: 0.983,请问我这个操作是哪儿错了吗?

下面是我的实验配置:RTX3090,backbone_arch选择的是wide_resnet50_2,create_ref_features.py里面的batch size和源代码中选择的一样是32,main.py里面的batch size和论文中指定的一样是1,请问您能帮我分析下我是哪个环节出错了导致我的Mean Image-AUC比论文中低了1.6%吗?

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions