Very slow loading of the Convnet pretrained model on lesson 1

So I got a hacky workaround for the time being. To avoid the RAM problems I swapped the DataLoaders (from @jamesrequa ) and to deal with the incompatible variable types problem, I added the following line to the top of the accuracy function in fastai.metrics:

targs = targs.cuda()
1 Like

Hello I’m new here in 2018 –

I just got to the

learn.fit(lr, 3, cycle_len=1, cycle_mult=2)

part of the Lesson 1 notebook and jeez did it take forever to run.

Epoch 100% 7/7 [16:14<00:00, 139.15s/it]

I’m running on Windows 10 with a 1080ti, and while it was running I could see 100% utilization of the GPU (but only 50% memory) so I figure it’s not bound by the CPU. Any idea why my it/s is so slow? This seemed like the appropriate thread to bump. Thanks!

1 Like

I have same problem I think.
When I run the code below:

learn.precompute=False
learn.fit(1e-2, 3, cycle_len=1)

GPU crashed and computer rebooted. I use my own GPU Titan Xp and Ubuntu 18.04 system and cuda9.2.

The problem was resolved by pulling the latest from git, @jeremy . Thank you!