test: 更新测试模型并修改模型名称

- 更新测试模型路径为 whaiFusion11-16-23-08.pth
- 修改模型名称为 "PFCFuse Enhance  SCSA"
This commit is contained in:
zjut 2024-11-17 09:53:12 +08:00
parent 23293e9138
commit a435e035c0

View File

@ -17,11 +17,11 @@ current_time = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
os.environ["CUDA_VISIBLE_DEVICES"] = "0" os.environ["CUDA_VISIBLE_DEVICES"] = "0"
ckpt_path= r"/home/star/whaiDir/PFCFuse/models/whaiFusion11-16-11-20.pth" ckpt_path= r"/home/star/whaiDir/PFCFuse/models/whaiFusion11-16-23-08.pth"
for dataset_name in ["sar"]: for dataset_name in ["sar"]:
print("\n"*2+"="*80) print("\n"*2+"="*80)
model_name="PFCFuse Enhance " model_name="PFCFuse Enhance SCSA "
print("The test result of "+dataset_name+' :') print("The test result of "+dataset_name+' :')
test_folder = os.path.join('test_img', dataset_name) test_folder = os.path.join('test_img', dataset_name)
test_out_folder=os.path.join('test_result',current_time,dataset_name) test_out_folder=os.path.join('test_result',current_time,dataset_name)