ColabSetting #GoogleColab1 Google Colab Setting - conda & terminal In [13]: from IPython.core.display import display, HTML display(HTML("")) View Source Google Drive Mount¶ In [ ]: from google.colab import drive drive.mount('/content/drive') Check GPU¶ In [ ]: gpu_info = !nvidia-smi gpu_info = '\n'.join(gpu_info) if gpu_info.find('failed') >= 0: print('Not connected to a GPU') else: print(gpu_info) Sun Apr 24 03:06:53 2022 +-----.. 2022. 4. 26. 이전 1 다음