Kevinz-code / CSRA

Official code of ICCV2021 paper "Residual Attention: A Simple but Effective Method for Multi-Label Recognition"
GNU Affero General Public License v3.0
210 stars 37 forks source link

The problems of val.py? #11

Open yangt1013 opened 2 years ago

yangt1013 commented 2 years ago

Using your provided val model to val.py ,why? main.py including test.file,the test result means the real results or the test results was produced by val.py? I am waiting for your reply

Kevinz-code commented 2 years ago

Hi, @yangt1013

Actually the ""def val()"" in main.py and the "def val()" in val.py are doing the same function. For example, in VOC2007, these two "def val()" are validating the results on voc2007 test dataset.