Section 8 lesson 186 downloader folder issues #552
-
Hello @mrdbourke, Then, when testing you could see the paths: Now, regardless of what I try to do, I get stuck on this line from the lesson
So, then I ran this code:
" Couldn't find any class folder in data/pizza_steak_sushi/train. " So, I didn't see anything you may have run in here that showed any class establishment, so I am at a loss. What gives? I believe I am tapping into the same code you wrote when importing, so can you let me know what I could possibly have missed? Thanks as always! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just a quick update; |
Beta Was this translation helpful? Give feedback.
One more update:
Ok, I just went and copied in what you had from the book version of the course and it worked. The only thing I can think of is that perhaps the spacing was off? Here is the copied in version from what you had :
with zipfile.ZipFile(data_path / "pizza_steak_sushi.zip", "r") as zip_ref:
When I ran the whole thing again, it worked. One thing I think I noticed was that in your file for the if....else conditions, you seemed to have 2 tabs, and I think I only had 1, under the
if:
andelse:
clauses. That seems like an odd error due to indents, but maybe you can help me understand what went on there? Thanks @mrdbourke