SAN icon indicating copy to clipboard operation
SAN copied to clipboard

Not loading the statistics_pred model weights

Open khchul opened this issue 9 months ago • 1 comments

Thank you for your great work!

I'm wondering, why are there only self.model.load_state_dict() and no self.statistics_pred.load_state_dict() in def test()? Isn't it just using some randomly initialized weights?

khchul avatar Apr 10 '25 10:04 khchul

Sry for the late response. The common practice is to first train the SAN framework and then evaluate its performance immediately, with test=0 for the test() function (also see in run_LongExp.py). As the statistics_pred module is already loaded before the training loop, the parameters are correctly used in the test procedure. Also, if you want to conduct only testing, it is required to reload statistics_pred explicitly in the test() function.

icantnamemyself avatar Jun 27 '25 17:06 icantnamemyself