VICO-UoE / URL

Universal Representation Learning from Multiple Domains for Few-shot Classification - ICCV 2021, Cross-domain Few-shot Learning with Task-specific Adapters - CVPR 2022
MIT License
126 stars 17 forks source link

Parameter size of the loaded URL classifier doesn't match with that of model #3

Closed RongKaiWeskerMA closed 2 years ago

RongKaiWeskerMA commented 2 years ago

Hi, thanks for open-source the code!

I am trying to understand the implementation of the work. However, when I load the parameters of f_{\phi} from the checkpoint, the classifier size doesn't match with the size of the classifier of the model.

eg, the size of the loaded classifier is (num_c1+num_c2+...+num_c8----->512) but the model has 8 classifier, eg, (num_c1----->512) (num_c2----->512) ....(num_c8----->512)

RongKaiWeskerMA commented 2 years ago

Sorry, it is due to my own operation.