HiLab-git / SSL4MIS

Semi Supervised Learning for Medical Image Segmentation, a collection of literature reviews and code implementations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conf_thresh in fixmatch

Duckyee728 opened this issue · comments

发现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
这可太有意思了 我目前还在寻找这种情况出现的原因。

实际上 如果加任意的args参数都会有这么个问题 我在两台服务器上都复现了 目前还找不到原因 哈哈哈哈哈哈哈哈哈