huggingface / huggingface/computer-vision-course

Indentation Error in Code within the CvT Chapter

Open
#392 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
881
Forks
242
Avg merge
2m
Merged PRs (30d)
1

Description

While translating this chapter, I noticed that the code here seems a bit strange. Is the indentation of the `forward` method incorrect?

https://github.com/huggingface/computer-vision-course/blob/d5b297edd0338340858c49e175b1132af3f93a60/chapters/en/unit3/vision-transformers/cvt.mdx?plain=1#L241-L261

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.