- Python version 3.12 required.
- Secondly, create a virtual environment for Python 3 with
python3.12 -m venv venv
and then activate withsource venv/bin/activate
. - Then, we need to install dependencies based on pyproject.toml file. Use
pip install --upgrade --upgrade-strategy eager -e .
.⚠️ Be aware that if you use the existing requirements file to install dependencies, you may have compatibility issues due to different machines. - To avoid pushing files larger than 100 MB, use
find . -size +100M | cat >> .gitignore
andfind . -size +100M | cat >> .git/info/exclude
.
Reads a video file and removes speech from audio.
The following command runs Scalene on a provided example program. This helps to define performance issues in the machine learning code.
scalene remove_speech.py