Skip to content

Commit

Permalink
Output fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
consequencesunintended committed Aug 18, 2023
1 parent 2e9014b commit 61aa9a8
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions perceptual_inpaiting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@
"\n",
"dspth='./'\n",
"\n",
"fourcc = cv2.VideoWriter_fourcc(*'mp4v')\n",
"fourcc = cv2.VideoWriter_fourcc(*'H264')\n",
"\n",
"\n",
"n_classes = 19\n",
"net = BiSeNet(n_classes=n_classes)\n",
Expand Down Expand Up @@ -316,6 +317,17 @@
"id": "P2DyzDfewG7V"
},
"outputs": [],
"source": [
"from IPython.display import Video\n",
"\n",
"Video(\"result.mp4\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
Expand All @@ -339,7 +351,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
"version": "3.10.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 61aa9a8

Please sign in to comment.