Browse Source

Updating requirements.txt and environment .yml, and updating Colabs to use requirements.txt

Jason Antic 6 years ago
parent
commit
21cf8e13e6
4 changed files with 17 additions and 17 deletions
  1. 1 4
      ImageColorizerColab.ipynb
  2. 1 4
      VideoColorizerColab.ipynb
  3. 9 5
      environment.yml
  4. 6 4
      requirements.txt

+ 1 - 4
ImageColorizerColab.ipynb

@@ -116,10 +116,7 @@
    },
    "outputs": [],
    "source": [
-    "!pip install PyDrive\n",
-    "!pip install ffmpeg-python\n",
-    "!pip install youtube-dl\n",
-    "!pip install tensorboardX"
+    "!pip install -e ."
    ]
   },
   {

+ 1 - 4
VideoColorizerColab.ipynb

@@ -119,10 +119,7 @@
    },
    "outputs": [],
    "source": [
-    "!pip install PyDrive\n",
-    "!pip install ffmpeg-python\n",
-    "!pip install youtube-dl\n",
-    "!pip install tensorboardX"
+    "!pip install -e ."
    ]
   },
   {

+ 9 - 5
environment.yml

@@ -1,8 +1,12 @@
 name: deoldify
+channels:
+- conda-forge
+- defaults
 dependencies:
-- fastai>=1.0.42
-- ffmpeg >= 4.0
+- python=3.7
+- fastai=1.0.51
+- ffmpeg=4.11
+- tensorboardX=1.6
+- youtube-dl>=2019.4.17
 - pip:
-  - tensorboardX>=1.4
-  - youtube-dl
-  - ffmpeg-python
+  - ffmpeg-python=0.1.17

+ 6 - 4
requirements.txt

@@ -1,4 +1,6 @@
-fastai>=1.0.42
-tensorboardX>=1.4
-ffmpeg-python
-youtube-dl
+python=3.7
+fastai=1.0.51
+tensorboardX=1.6
+ffmpeg=4.11
+ffmpeg-python=0.1.17
+youtube-dl>=2019.4.17