Lost File .csv

I am a newbie. I would like to ask you a silly question in lesson2-download:
After I download my urls file and run these codes, the file .csv does not exist in my path, so in the few later codes, it has the error : No such file or directory: ‘data\bears\urls_grizzly.csv’ even though I uploaded this urls file in the dl1 directory.
How to solve this problem ?
I really appreciate your help with my problem!

Hi Cuong hope you are well!

No such file or directory: ‘data\bears\urls_grizzly.csv’ even though I uploaded this urls file in the dl1 directory.

I am not quite sure from the above quote whether you have placed the URL files in dl1 or the ‘data\bears’directory.

No such file or directory: ‘data\bears\urls_grizzly.csv’

It my understanding that the URL files go in the bears directory and the actually error is telling you it can’t find the files in this location.

I would suggest copying URL the files to ‘data\bears’

Cheers mrfabulous1 :smiley::smiley:

Thanks for your help, but I am still confused :neutral_face:!

ask1

Hi Cuong

Thanks for your help, but I am still confused :neutral_face:!

Please be specific what are you confused about?

From your image you only have the grizzly directory in your bears drive.

  1. You need to run the cell with folder = black.
  2. Then the cell with path = Path(‘data/bears’)
    Repeat steps 1 and 2 for each class (teddys, grizzly) so your directory will look like the last cell with black, grizzly and teddys in it.

You then need to make sure you have completed the

> Get a list of URLs section of the notebook

for each class and create the urls_xxxxxx.csv file and put them in the bears directory to.

by the time you run the path.ls() cell, you should have 6 items in there.
3 directories and 3 URL files

If you read the notebook instructions carefully this is what it is trying to tell you.

Cheers mrfabulous1:smiley::smiley:

I got it, it’s just simple!
Thanks you very much @mrfabulous1 :grinning:

You’re welcome.
mr fsabulous1:smiley::smiley: