You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, learned from some issue of how to start a demo in this project, i want to share some expreience, feel free to commit any suggestions, thanks.
Suppose that you have install manimgl and all thing it needed, for M3 pro of Mac, its FFmpeg and MacTex, see install for details. To run a scene, only two things needed to be done. We will use the file: _2024/transformers/network_flow.py as examples(i like the explanation of transformer from 3B1B so much), and it's applicable to any other files.
Firstly, you need to add the following three lines before from manim_imports_ext import *
import torch
import sys
sys.path.append(".")
sys.path.append("..")
from manim_imports_ext import *
from _2024.transformers.helpers import *
from _2024.transformers.embedding import *
Edit the file named custom_config.yml, i suppose that you have git cloned this repo, just run pwd to get your current directory, and change to string after removed_mirror_prefix to pwd's output, then commit the base line, after modification, the begin of custom_config.yml looks like:
Hello everyone, learned from some issue of how to start a demo in this project, i want to share some expreience, feel free to commit any suggestions, thanks.
Suppose that you have install manimgl and all thing it needed, for M3 pro of Mac, its FFmpeg and MacTex, see install for details. To run a scene, only two things needed to be done. We will use the file: _2024/transformers/network_flow.py as examples(i like the explanation of transformer from 3B1B so much), and it's applicable to any other files.
now the beginning of this file looks like
Now just enter the following line to enjoy this elegant code:
The text was updated successfully, but these errors were encountered: