blue-blue272 / fewshot-CAN

Code of Cross Attention Network for Few-shot Classification (NeurIPS 2019).
208 stars 41 forks source link

Where are the codes for the part of "Transductive Inference" ? #6

Closed CSer-Tang-hao closed 4 years ago

CSer-Tang-hao commented 4 years ago

Hi, @blue-blue272! I think this is an interesting and inspiring work, but in your released code, I don't find the code for "Transductive Inference" as shown in your paper. Maybe I don't find it. Can you point it out for me? In your released code(default settings in args_xent.py), I also find that you use the test dataset to early stop, I don't think it's appropriate. Looking forward to your reply!

blue-blue272 commented 4 years ago

I have updated the transductive code. You can run the test_transductive.py for the transductive inference.

It is appropriate to set the phase to 'val'. I got a similar performance for both settings.