Update examples.ipynb
This commit is contained in:
parent
02b7f2c7d6
commit
ae577f51e2
|
@ -46,11 +46,8 @@
|
||||||
"import glob\n",
|
"import glob\n",
|
||||||
"import torch\n",
|
"import torch\n",
|
||||||
"import os\n",
|
"import os\n",
|
||||||
"import matplotlib.pyplot as plt\n",
|
|
||||||
"%matplotlib inline\n",
|
|
||||||
"\n",
|
"\n",
|
||||||
"from IPython.display import Image \n",
|
"from IPython.display import Image, clear_output\n",
|
||||||
"from IPython.display import clear_output\n",
|
|
||||||
"print('PyTorch %s %s' % (torch.__version__, torch.cuda.get_device_properties(0) if torch.cuda.is_available() else 'CPU'))"
|
"print('PyTorch %s %s' % (torch.__version__, torch.cuda.get_device_properties(0) if torch.cuda.is_available() else 'CPU'))"
|
||||||
],
|
],
|
||||||
"execution_count": 39,
|
"execution_count": 39,
|
||||||
|
@ -337,4 +334,4 @@
|
||||||
"outputs": []
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue