In [1]:
Sun Jul 14 20:58:47 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104      Driver Version: 410.104      CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| 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           Off  | 00000000:00:04.0 Off |                    0 |
| N/A   73C    P0    89W / 149W |      0MiB / 11441MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
In [2]:
/opt/anaconda3/lib/python3.7/site-packages/tqdm/autonotebook/__init__.py:14: TqdmExperimentalWarning: Using `tqdm.autonotebook.tqdm` in notebook mode. Use `tqdm.tqdm` instead to force console mode (e.g. in jupyter console)
  " (e.g. in jupyter console)", TqdmExperimentalWarning)
In [3]:
In [4]:
{ batch_size: 64 }
{ epochs: 3 }
{ sample_size: 10000 }
{ lr: 0.0001 }
{ momentum: 0.9 }
{ dropout: 0.1 }
0    6000
3    5506
2    5463
1    4243
Name: 1, dtype: int64
EPOCH 1
Step 10: 1.6170
Step 20: 1.5802
Step 30: 1.6111
This run of MAC Net ran for 0:01:53 and logs are available locally at: /home/jacobgdt/.hyperdash/logs/mac-net/mac-net_2019-07-14t20-58-51-302951.log
In [5]:
In [6]:
In [7]:
In [8]:
22% 34/157 [01:27<05:16, 2.57s/it]
---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-8-3666b508d24b> in <module>
     19 
     20 
---> 21                 loss.backward()
     22                 optimizer.step()
     23         print(f'Epoch loss: {ep_loss/len(train):.4f}')

/opt/anaconda3/lib/python3.7/site-packages/torch/tensor.py in backward(self, gradient, retain_graph, create_graph)
    105                 products. Defaults to ``False``.
    106         """
--> 107         torch.autograd.backward(self, gradient, retain_graph, create_graph)
    108 
    109     def register_hook(self, hook):

/opt/anaconda3/lib/python3.7/site-packages/torch/autograd/__init__.py in backward(tensors, grad_tensors, retain_graph, create_graph, grad_variables)
     91     Variable._execution_engine.run_backward(
     92         tensors, grad_tensors, retain_graph, create_graph,
---> 93         allow_unreachable=True)  # allow_unreachable flag
     94 
     95 

KeyboardInterrupt: 

In [ ]:
In [ ]:
In [9]:
In [ ]:
In [ ]: