course22 icon indicating copy to clipboard operation
course22 copied to clipboard

Problem with Chapter 1 in Colab

Open harrybou opened this issue 3 years ago • 2 comments
trafficstars

Trying to work through Ch1 in Colab, the training of the cat recognition model has taken up to 40 minutes per epoch and some error messages about deprecated variable names.
image Trying to test the model with an uploaded file or even the default I get a message stating no such directory or file. image

harrybou avatar Oct 27 '22 00:10 harrybou

Same issue here

jonathanmoregard avatar Jan 05 '23 15:01 jonathanmoregard

It is because it looks for a file images/random_dog.jpg, which you probably have not uploaded to your workspace to directory images/.

You should either, I think:

  1. Ommit this cell if you previously used Uploader on your system files, or
  2. Put picture into directory 'images/' with the name 'random_dog.jpg' - or put your photo anywhere into the Colab workspace, copy its path and put it in place of images/random_dog.jpg

SirPentyna avatar Mar 10 '23 08:03 SirPentyna