Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions notebooks/unit2/requirements-unit2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ pygame
numpy

huggingface_hub
pickle5
pickle5; python_version < "3.8"
pyyaml==6.0
imageio
imageio_ffmpeg
pyglet==1.5.1
tqdm
tqdm
7 changes: 5 additions & 2 deletions notebooks/unit2/unit2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,10 @@
"import os\n",
"import tqdm\n",
"\n",
"import pickle5 as pickle\n",
"try:\n",
" import pickle5 as pickle\n",
"except ImportError:\n",
" import pickle\n",
"from tqdm.notebook import tqdm"
]
},
Expand Down Expand Up @@ -1769,4 +1772,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
5 changes: 4 additions & 1 deletion units/en/unit2/hands-on.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ import imageio
import os
import tqdm

import pickle5 as pickle
try:
import pickle5 as pickle
except ImportError:
import pickle
from tqdm.notebook import tqdm
```

Expand Down