Skip to content

Commit

Permalink
Update test_C2FNet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengxiHAN authored Mar 25, 2024
1 parent 7ba4dc2 commit d4276bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_C2FNet.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test(test_loader, Eva_test, save_path, net):

#-------测试老师的模型teacher-------
# save_path = './output/C2F-SemiCD/WHU-5/' #半监督C2F-SemiCD模型路径!!
# save_path = './output/C2FNet-WHU-5/' #全监督C2FNet模型路径!!
# save_path = './output/C2FNet-WHU/' #全监督C2FNet模型路径!!

# # save_path = save_path + '/' + opt.model_name
# save_path = save_path + opt.data_name + '/' + opt.model_name
Expand All @@ -145,7 +145,7 @@ def test(test_loader, Eva_test, save_path, net):

#-------测试学生的模型student-------
# save_path = './output/C2F-SemiCD/WHU-5/' #半监督C2F-SemiCD模型路径!!
save_path = './output/C2FNet/WHU-5/' #全监督C2FNet模型路径!!
save_path = './output/C2FNet/WHU/' #全监督C2FNet模型路径!!

# save_path = save_path + opt.model_name
save_path = save_path + opt.data_name + '/' + opt.model_name
Expand All @@ -169,4 +169,4 @@ def test(test_loader, Eva_test, save_path, net):
test(test_loader, Eva_test, opt.save_path, model)

end=time.time()
print('程序测试test的时间为:',end-start)
print('程序测试test的时间为:',end-start)

0 comments on commit d4276bd

Please sign in to comment.