diff --git a/VideoColorizer.ipynb b/VideoColorizer.ipynb
index 873e207..9ee085c 100644
--- a/VideoColorizer.ipynb
+++ b/VideoColorizer.ipynb
@@ -2,17 +2,17 @@
"cells": [
{
"cell_type": "code",
- "execution_count": 1,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
- "os.environ['CUDA_VISIBLE_DEVICES']='3' "
+ "os.environ['CUDA_VISIBLE_DEVICES']='0' "
]
},
{
"cell_type": "code",
- "execution_count": 2,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -23,7 +23,7 @@
},
{
"cell_type": "code",
- "execution_count": 3,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -37,83 +37,37 @@
"#It literally just is a number multiplied by 16 to get the square render resolution. \n",
"#Note that this doesn't affect the resolution of the final output- the output is the same resolution as the input.\n",
"#Example: render_factor=21 => color is rendered at 16x21 = 336x336 px. \n",
- "render_factor=25\n",
+ "render_factor=21\n",
"#Specify media_url. Many sources will work (YouTube, Imgur, Twitter, Reddit, etc). \n",
"#Complete list here: https://rg3.github.io/youtube-dl/supportedsites.html. \n",
"#NOTE: Make source_url None to just read from file at ./video/source/[file_name] directly without modification\n",
- "source_url= 'https://twitter.com/silentmoviegifs/status/1112256563182489600'\n",
- "#source_url=None\n",
- "file_name = 'TheHighSign1921.mp4'"
+ "#source_url= 'https://twitter.com/silentmoviegifs/status/1112256563182489600'\n",
+ "#source_url='https://archive.org/details/impact'\n",
+ "source_url='https://twitter.com/silentmoviegifs/status/1116751583386034176'\n",
+ "file_name = 'DogBath.mp4'"
]
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "name": "stderr",
- "output_type": "stream",
- "text": [
- "/media/jason/Projects/Deep Learning/DeOldifyV2/DeOldify/fastai/data_block.py:426: UserWarning: Your training set is empty. If this is by design, pass `ignore_empty=True` to remove this warning.\n",
- " warn(\"Your training set is empty. If this is by design, pass `ignore_empty=True` to remove this warning.\")\n",
- "/media/jason/Projects/Deep Learning/DeOldifyV2/DeOldify/fastai/data_block.py:429: UserWarning: Your validation set is empty. If this is by design, use `no_split()`\n",
- " or pass `ignore_empty=True` when labelling to remove this warning.\n",
- " or pass `ignore_empty=True` when labelling to remove this warning.\"\"\")\n"
- ]
- }
- ],
+ "outputs": [],
"source": [
- "colorizer = get_video_colorizer(render_factor=render_factor)"
+ "colorizer = get_video_colorizer()"
]
},
{
"cell_type": "code",
- "execution_count": 5,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/html": [
- "\n",
- "