MeTAL icon indicating copy to clipboard operation
MeTAL copied to clipboard

请问class StepLossAdapter(nn.Module)类的forward

Open 9876K opened this issue 3 years ago • 3 comments

生成的仿射变换参数为什么要分割? 还有仿射变换参数在后面又乘了可学习参数 self.multiplier_bias和 self.offset_bias,这是为什么呢?

9876K avatar Dec 02 '21 14:12 9876K

Hi,

Thank you for your interests in my paper. But, I'm sorry to tell you that I don't speak Chinese. It would be great if you post your questions in English, and I'd be happy to help you.

Best, Sungyong

baiksung avatar Dec 06 '21 02:12 baiksung

Hi,

Your idea is very interesting and inspire me. I use your code ,dataset(mini imagenet) and original experiment config (5shot and 5 way) to run, and get high train acc (more than 90%) and val acc(more than 90%) in logs. However the test acc is no more than 53%.So I don't know why. Could you help me? Look forward to your rely.

Best, Zhang Lixu

Zlixu avatar Mar 14 '22 10:03 Zlixu

Hi Zhang Lixu,

I don't think you should get train acc & val acc more than 90% with this code. What is the exact command you executed? Did you, by any chance, use multi GPUs? If so, this code does not fully support multi-gpu settings and may cause bugs, such as yours. I would recommend running on a single GPU to reproduce results.

Best, Sungyong

baiksung avatar Mar 14 '22 12:03 baiksung