also save small fig

This commit is contained in:
Ruben van de Ven 2023-04-13 14:21:33 +02:00
parent 635eeb1e5e
commit 6cf2360d4b

View file

@ -1667,15 +1667,6 @@
" pickle.dump(frame_embeddings, fp)" " pickle.dump(frame_embeddings, fp)"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"\n"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 30, "execution_count": 30,
@ -1986,7 +1977,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 76, "execution_count": 97,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -2003,7 +1994,8 @@
" plt.show()\n", " plt.show()\n",
" im = Image.fromarray(image)\n", " im = Image.fromarray(image)\n",
" # im = im.resize((1500,1500))\n", " # im = im.resize((1500,1500))\n",
" im.save(fn)" " im.save(fn)\n",
" im.resize((1000, 1000)).save(fn[:-4] + '-small.png')"
] ]
}, },
{ {
@ -2016,7 +2008,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 88, "execution_count": 98,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -2079,7 +2071,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 89, "execution_count": 99,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {