git clone https://github.com/Emerge-Lab/CE-GY-7893-Engineering-Applications-of-Deep-Learning-Homeworks.git
cd CE-GY-7893-Engineering-Applications-of-Deep-Learning-HomeworksThis project supports both uv and Conda for Python package management.
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"uv syncsource .venv/bin/activate # macOS/Linux
# or
.venv\Scripts\activate # WindowsAlternatively, you can run commands directly with uv:
uv run python your_script.pyconda create -n deep-learning python=3.9
conda activate deep-learning# Install pip in the conda environment
conda install pip
# Install dependencies from pyproject.toml
pip install -e .For the best experience, we recommend using VS Code with Python support.
Install these recommended extensions:
- Python (by Microsoft) - Useful for Python development
- Jupyter (by Microsoft) - For working with Jupyter notebooks
- Pylance (by Microsoft) - Advanced Python language support
You can install them via:
- VS Code Extensions marketplace
- Command line:
code --install-extension ms-python.python ms-toolsai.jupyter ms-python.pylance
- Open VS Code in your project directory:
code . - Open Command Palette (
Cmd/Ctrl + Shift + P) - Type "Python: Select Interpreter"
- Choose the appropriate interpreter:
- uv users: Select the interpreter from
.venv/bin/python(or.venv\Scripts\python.exeon Windows) - Conda users: Select the interpreter from your
deep-learningenvironment
- uv users: Select the interpreter from
With the Jupyter extension installed, you can:
- Create and edit
.ipynbfiles directly in VS Code - Run cells interactively with
Shift+Enter - View plots and outputs inline
- Debug notebook cells
To work with the homework notebooks:
# Launch Jupyter Lab
uv run jupyter lab
# Then navigate to and open the .ipynb filesIf you're not using uv, just launch them the normal way you might a jupyter notebook.