HiLab-git / SSL4MIS

Semi Supervised Learning for Medical Image Segmentation, a collection of literature reviews and code implementations.
MIT License
2.13k stars 381 forks source link

conf_thresh in fixmatch #92

Open Duckyee728 opened 9 months ago

Duckyee728 commented 9 months ago

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

Duckyee728 commented 9 months ago

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