Skip to content

conf_thresh in fixmatch #92

@Duckyee728

Description

@Duckyee728

发现train_fixmatch_standard_augs.py文件存在一个有趣的问题:
image
如果通过命令行指令修改--conf_thresh 的值,会报错没有这个参数
我在尝试寻找问题时将该参数设置为了必需,再次通过命令行指令修改--conf_thresh 的值
parser.add_argument("--conf_thresh", type=float, required=True, help="confidence threshold for using pseudo-labels")
我发现:
image
当未指定conf_thresh时,会报错conf_thresh参数是必需的,指定conf_thresh又会导致报错:不能识别conf_thresh
这可太有意思了 我目前还在寻找这种情况出现的原因。

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