This is the repository for a community-led course on Computer Vision. Below, you can find how you can help us in this effort.
-
Join us in Discord πΎ
Join the Hugging Face discord, take the role open-source and join us at the channel #cv-community-project.


- Pick a section from the table of contents and add your first name and discord username there. (Please only sign up for two chapters maximum for now.)
- Connect with your team members in Discord
- One person from your team should create a fork of this repository
- Add your team members as collaborators to the fork
- Add a branch for your section
- Create
.mdx
files or Jupyter Notebooks for the chapters you want to contribute to - Add the notebooks to the fork
- Work on the notebooks in your team and collaborate via standard git functionalities
- Make sure to update the requirements.txt file in the root of the repository
- When you feel like you are ready, create a pull request to this repository
These rules are required to render the course on hf.co/learn π
- Every chapter should have a main header (h1, e.g. # Introduction) before the content.
- We can use the syntax features in Hugging Face course! This includes π
Tip Blocks Write tips like so:
<Tip>
Write your note here
</Tip>
You can write warnings like this:
<Tip warning={true}>
Framework Dependent Code To have multiple frameworks in one code snippet with a toggle, you can do:
<frameworkcontent>
<pt>
PyTorch content goes here
</pt>
<tf>
TensorFlow content goes here
</tf>
<flax>
Flax content goes here
</flax>
</frameworkcontent>
Anchor Links for Headers If you want to refer to a section inside the text, you can do it like below π
## My awesome section[[some-section]]
// the anchor link is: `some-section`
Code Blocks
You can write codeblocks by wrapping it with three backticks. Please add the associated language code, e.g. py
or bash
after top backticks to enable language specific rendering of code blocks.
LaTeX You can write LaTeX by writing it like this: `$$...$$`` For example π
$$Y = X * \textbf{dequantize}(W); \text{quantize}(W)$$
- Add your chapter to
_toctree.yml
.
- Note that the directory structure is as follows, so when you add a new chapter, make sure to stick to it:
.
βββ course/
βββ chapters/
βββ chapter0/
β βββ introduction.mdx
β βββ getting_started.mdx
βββ chapter1/
β βββ ...mdx
βββ _toctree.yml
-
If you need advice on the tone of your content, feel free to check out Hugging Face Audio Course as it's a good example.
-
Before contributing, please read the general contribution guide.
-
If you have any images, videos and more in your PRs, please store them in this Hugging Face repository to keep this repository lightweight. You can ask for an access to the organization if you aren't a part of it yet.
Thanks to Hugging Face's documentation builder, when we add [[open-in-colab]]
on top of .mdx
files, it creates a button that you can automatically open a notebook containing the notebook version of your markdown file. If you still want to create a notebook that is separate from markdown (and the markdown is complete by means of context you're providing in the notebook), you can do so, in the notebooks folder. Make sure to add it to the associated chapter's folder under notebooks (and if it doesn't exist, feel free to create it).
Is everything already assigned, but you still really want to contribute to the course? No worries, you can still become a reviewer! This will allow you to review the notebooks and READMEs and give feedback to the authors.
- Go here and at the bottom choose the "Reviewers" tab,
- Add your first name and GitHub username,
- You'll be added to the repo as a contributor and will be able to review Pull Requests (PRs)!
- Assign yourself to any PRs you think make sense for you,
- While reviewing, ask yourself if the changes and additions make sense - After all, the most important part of a course is conveying ideas properly, which makes the learning experience smoother.
- Share your feedback and ideas with the authors on how they can improve. In the long term, we're aiming to make a robust, high-quality course accessible to everyone!
- Finally, every PR can be merged when it has two approvals from reviewers.
-
For an easier collaboration when working on notebooks together, feel free to use ReviewNB, which is free for open-source and educational use cases.
-
In the requirements.txt file you can find some packages that can be helpful when creating the material. As we're originating from the HuggingFace community, we can recommend using the transformers, datasets, evaluate and timm libraries.