Skip to content

Commit

Permalink
Merge pull request #959 from NeuromatchAcademy/hot-fixes
Browse files Browse the repository at this point in the history
Hot fixes
  • Loading branch information
iamzoltan authored Jul 16, 2024
2 parents 2971330 + b7a5498 commit 74d7751
Show file tree
Hide file tree
Showing 9 changed files with 1,356 additions and 1,541 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/notebook-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,22 @@ jobs:

runs-on: ubuntu-latest
steps:

- name: Free up disk space
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Checkout
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -48,6 +63,9 @@ jobs:
- name: Install dependencies
if: "!contains(env.COMMIT_MESSAGE, 'skip ci') && contains(env.COMMIT_MESSAGE, 'ci:execute')"
run: |
# Install dependencies for github processing
sudo apt install nvidia-cuda-toolkit -y
sudo apt-get update && sudo apt install xvfb -y
python -m pip install --upgrade pip wheel
pip install -r requirements.txt
pip install jupyter_client==7.3.5 # downgrade jupyter-client to fix hangs
Expand Down
679 changes: 173 additions & 506 deletions projects/ComputerVision/em_synapses.ipynb

Large diffs are not rendered by default.

107 changes: 46 additions & 61 deletions projects/ComputerVision/spectrogram_analysis.ipynb

Large diffs are not rendered by default.

793 changes: 641 additions & 152 deletions projects/NaturalLanguageProcessing/sentiment_analysis.ipynb

Large diffs are not rendered by default.

323 changes: 123 additions & 200 deletions projects/Neuroscience/blurry_vision.ipynb

Large diffs are not rendered by default.

223 changes: 106 additions & 117 deletions projects/Neuroscience/cellular_segmentation.ipynb

Large diffs are not rendered by default.

489 changes: 108 additions & 381 deletions projects/ReinforcementLearning/human_rl.ipynb

Large diffs are not rendered by default.

252 changes: 132 additions & 120 deletions projects/ReinforcementLearning/lunar_lander.ipynb

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
requests
numpy
numpy==1.26.4
scipy
matplotlib
scikit-learn
torch
torch==1.13.0
torchvision==0.14.0
ipywidgets
tqdm
torchvision
pathlib
xkcd
decorator==5.0.9
decorator==4.0.2
pyvirtualdisplay
tensorboard
moviepy==1.0.3
imageio_ffmpeg

0 comments on commit 74d7751

Please sign in to comment.