From d143eee2ea6e6b06c4133870f8dfbbedc210e989 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 31 Jan 2019 12:29:41 -0600 Subject: [PATCH 1/2] Add torchvision, torchtext, and opencv to environment.yml As these are required dependancies in the Jupyter notebooks they are needed. Have Binder install libgl1-mesa-glx from apt.txt to add support for opencv. This also fixes Binder being broken. --- apt.txt | 1 + environment.yml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 apt.txt diff --git a/apt.txt b/apt.txt new file mode 100644 index 000000000..f359f073a --- /dev/null +++ b/apt.txt @@ -0,0 +1 @@ +libgl1-mesa-glx diff --git a/environment.yml b/environment.yml index 7ebeee94c..4197aa970 100644 --- a/environment.yml +++ b/environment.yml @@ -4,6 +4,11 @@ channels: - pytorch dependencies: - python=3.6 + - pip - pytorch=0.4.1 + - torchvision + - opencv - matplotlib - jupyter + - pip: + - torchtext From ce7a2619c590f4f0fd0c75c5e973afe2fb503448 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 31 Jan 2019 13:50:16 -0600 Subject: [PATCH 2/2] Update Binder badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c7de779b..b6d70b742 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Mini Course in Deep Learning with PyTorch for AIMS -[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/Atcold/PyTorch-Deep-Learning-Minicourse/master) +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Atcold/pytorch-Deep-Learning-Minicourse/master) The African Masters of Machine Intelligence (AMMI) is Africa's flagship program in machine intelligence led by The African Institute for Mathematical Sciences (AIMS). These lessons, developed during the course of several years while I've been teaching at Purdue and NYU, are here proposed for the AMMI (AIMS).