Skip to content

[Chapter 8] Paper Replicating, 244. Creating the Patch Embedding Layer with PyTorch - are we not missing a step? #485

Answered by mrdbourke
ivan-rivera asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ivan-rivera ,

Good questions! + you're definitely making sense!

To answer in short, the feature map from the CNN is the embedding layer.

This may be a bit confusing due to the demo in the materials showcasing a feature map of a piece of piece of pizza (I think this was the example).

And the feature map of that specific image showcases certain features of that particular image.

However, the important concept is that the feature map (the embedding) is learned during training.

So although at the beginning, it may represent a specific sample, over time, it will be adjusted to (hopefully) represent the training data (in a generalized fashion).

In a CNN, a feature map is one form of project…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ivan-rivera
Comment options

@mrdbourke
Comment options

Answer selected by ivan-rivera
@ivan-rivera
Comment options

@mrdbourke
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants