Dog Breed Identification challenge


(Daniel Hunter) #387

I’m running the various fit commands (both on 224 and 299), and they’re taking quite a long time. Very slow.

learn.fit(1e-2, 5, cycle_len=1) takes 5-10+ minutes. I’ve been watching it run for the past 5 minutes, and it’s still on epoch 1. Is there any way to check that I’m properly utilizing my GPU? I’m using AWS.

I ran this command, it seems like some of the GPU is being used by Python, but not more than about 20%. Any tips?

(fastai) ubuntu@ip-172-31-37-237:~$ nvidia-smi
Fri Mar  2 00:54:57 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.81                 Driver Version: 384.81                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K80           On   | 00000000:00:1E.0 Off |                    0 |
| N/A   81C    P0   134W / 149W |   2447MiB / 11439MiB |     95%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1541      C   ...tu/src/anaconda3/envs/fastai/bin/python  2434MiB |
+-----------------------------------------------------------------------------+

(Sharwon Pius) #388

what batch size did you use?

1.Increasing the batch size will take up more memory.
2. Run ‘learn.unfreeze()’, you’ll notice a hike in the memory usage.


(Kevin) #389

is the notebook that he generated for lesson 2 available? I do not see it in what was provided.


(pradla) #391

Notebook for dogbreeds is not availble. you are supposed to create it yourself :wink:


#392

I’m getting the same thing. I couldn’t figure out how to fix it, did you?