Lesson2-image_models - Data Model Loader Kills Kernel


I am trying to run the following code in Lesson 2:

x,y = next(iter(data.val_dl))

My Kernel dies every time. No error. Just a dead kernel.

Anyone else facing this issue?

The question was not very clear. Can you explain which notebook are you trying to run and is iteration inside a method?

I am facing the same problem.I am trying to run it in Google colab GPU.

@satish860 , the notebook is “lesson2-image_models” and the line of code is right after the get_data function, under the header, Multi-label models for Planet dataset. Thank you.

There is another thread that might be related. I have not tried the solution.