fix caml stuff and add things to last sec
All checks were successful
Build Typst document / build_typst_documents (push) Successful in 11s

This commit is contained in:
2025-01-14 20:05:11 +01:00
parent 3e440e97f7
commit 30d09a67d2
3 changed files with 11 additions and 6 deletions

View File

@ -183,7 +183,9 @@ So it is clearly a bad idea to add more good shots to the support set.
== CAML
=== Approach
For the CAML implementation the pretrained model weights from the original paper were used.
This brings the limitation of a maximum squence length to the non-causal sequence model.
The non-causal sequence model (transformer) is pretrained with every class having the same number of shots.
This brings the limitation that it can only process default few-shot learning tasks in the n-way k-shots fashion.
Since it expects the input sequence to be distributed with the same number of shots per class.
This is the reason why for this method the two imbalanced test cases couldn't be conducted.
As a feture extractor a ViT-B/16 model was used, which is a Vision Transformer with a patch size of 16.