Skip to content

Commit

Permalink
add kornia data link for png
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarriba committed Jan 10, 2024
1 parent dd26525 commit 9230c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbs/geometric_transforms.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"download_image(\"https://github.com/kornia/data/raw/main/homography/img1.ppm\")\n",
"download_image(\"https://github.com/kornia/data/raw/main/v_dogman.ppm\")\n",
"download_image(\"https://github.com/kornia/data/raw/main/v_maskedman.ppm\")\n",
"download_image(\"https://miro.medium.com/max/6064/1*Fl89R-emhz-OLH9OZIQKUg.png\", \"delorean.png\")"
"download_image(\"https://github.com/kornia/data/raw/main/delorean_side.png\")"
]
},
{
Expand Down Expand Up @@ -493,7 +493,7 @@
],
"source": [
"# lets start the Delorean engine\n",
"delorean: torch.Tensor = K.io.load_image(\"delorean.png\", K.io.ImageLoadType.RGB32)[None, ...] # BxCxHxW\n",
"delorean: torch.Tensor = K.io.load_image(\"delorean_side.png\", K.io.ImageLoadType.RGB32)[None, ...] # BxCxHxW\n",
"\n",
"imshow(K.utils.tensor_to_image(delorean), 10, 10)"
]
Expand Down

0 comments on commit 9230c76

Please sign in to comment.