Comments (2)
Hi,
- The ProtoNet uses the support set to create the prototype feature vectors, with which the query is compared. In that sense, yes, both support set and query set are inputs to the model.
- If you fix the support set but still calculate the prototypes by encoding the support set with the same encoder as the queries, then it would still be considered a ProtoNet. Thus, if you take a trained ProtoNet and evaluate it on a new dataset with fixed classes, then it is still a ProtoNet due to the way it was trained. However, if you would remove the prototypes and instead make them learnable feature vectors independent of a support set, then it is not a ProtoNet anymore and actually becomes a standard classifier, since the last layer is equivalent to a linear layer.
- ProtoNets are more generalizable than normal classifiers to other datasets by adapting their classification head to new datasets. That being said, the model has been trained on CIFAR100. Thus, it will work better with datasets that are similar to CIFAR100, and performance decreases if you use datasets with very different statistics/characteristics.
from uvadlc_notebooks.
Clarified! Thank you very much!
from uvadlc_notebooks.
Related Issues (20)
- Not really a bug: images don't show well with dark background HOT 2
- Example job script in Guide 1 is depricated on Snellius HOT 1
- [Question] Computing normalization stats for RGB image datasets (CIFAR10, etc.) HOT 2
- [Question] ResNet pre actiovation blocks HOT 2
- [Question] Evaluating the loss for Autoencoders HOT 3
- About the same amount of images in every class HOT 1
- A question about Tutorial 6 - Transformers HOT 2
- [Question] Use of MLP in Transformer Encoder/Decoder HOT 2
- test_anom_dataset raised RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly' HOT 1
- Can PositionalEncoding used with position information? HOT 1
- [Question] Tutorial 11, Variational dequantization HOT 3
- Introduction_to_PyTorch.ipynb: Mean Sigma Formula HOT 1
- Introduction_to_PyTorch.ipynb: Typo HOT 1
- [Question]Tutorial 3(Pytorch, JAX) Test accuracy for the model with sigmoid activation function HOT 2
- Activation_Functions.ipynb : Learning rate Notation
- "Getting runtime error" HOT 2
- New tutorial request to extend Normalizing Flow HOT 1
- unable to use tensorboard in "Tutorial 16: Meta-Learning - Learning to Learn"
- [JAX] Meta Learning Tutorial? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uvadlc_notebooks.