{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"Untitled1.ipynb","provenance":[],"authorship_tag":"ABX9TyMD4z+nHaGFQ5RYNDPAfj6L"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"}},"cells":[{"cell_type":"code","execution_count":1,"metadata":{"id":"l4Ze2c7I8Ecq","executionInfo":{"status":"ok","timestamp":1643109202187,"user_tz":-480,"elapsed":16,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}}},"outputs":[],"source":["import numpy as np"]},{"cell_type":"code","source":["from google.colab import drive"],"metadata":{"id":"cfiDVpDa8Hed","executionInfo":{"status":"ok","timestamp":1643109227209,"user_tz":-480,"elapsed":40,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}}},"execution_count":2,"outputs":[]},{"cell_type":"code","source":["drive.mount('/content/gdrive')"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"GSWzj_df8RSO","executionInfo":{"status":"ok","timestamp":1643109275919,"user_tz":-480,"elapsed":32616,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}},"outputId":"0557686a-18cc-49b1-aa51-fac52cdade4b"},"execution_count":3,"outputs":[{"output_type":"stream","name":"stdout","text":["Mounted at /content/gdrive\n"]}]},{"cell_type":"code","source":["!ls /content/gdrive/MyDrive/"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"-Q5ppjcE8VU8","executionInfo":{"status":"ok","timestamp":1643109297556,"user_tz":-480,"elapsed":87,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}},"outputId":"eac150b3-67d4-4ac6-a01a-629222987fef"},"execution_count":4,"outputs":[{"output_type":"stream","name":"stdout","text":["colmap.ipynb\t\t       Untitled0.ipynb（副本）\n","MATH6222\t\t       voxelmorph_chest2.ipynb\n","math6222_simple_example.ipynb  voxelmorph_chest3.ipynb\n","MMAT5390\t\t       voxelmorph_chest4.ipynb\n","osa\t\t\t       voxelmorph_chest.ipynb（副本）\n","torch_install1.ipynb\t       voxelmorph_diff.ipynb\n","torch_install222.ipynb\t       voxelmorph_mnist.ipynb\n","torch_install22.ipynb\t       voxelmorph_regis.ipynb\n","torch_install2.ipynb\t       voxelmorph_regis.ipynb（副本）\n","torch_install_aw.ipynb\t       work\n","torch_install_clef.ipynb       无标题电子表格.gsheet\n","torch_install.ipynb\t       未命名网站.gsite\n"]}]},{"cell_type":"code","source":["!ls /content/gdrive/MyDrive/MMAT5390"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"KEHusQj98ih_","executionInfo":{"status":"ok","timestamp":1643109320956,"user_tz":-480,"elapsed":63,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}},"outputId":"87ad2df9-c2fe-4113-aa7d-94eaa725fc4a"},"execution_count":5,"outputs":[{"output_type":"stream","name":"stdout","text":["cat.jpg  jacky.jpg  smile.jpg  Untitled0.ipynb\tUntitled1.ipynb\n"]}]},{"cell_type":"code","source":["import matplotlib.pyplot as plt"],"metadata":{"id":"FyI-ZJlh8oIY","executionInfo":{"status":"ok","timestamp":1643109351312,"user_tz":-480,"elapsed":39,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}}},"execution_count":6,"outputs":[]},{"cell_type":"code","source":["img = plt.imread('/content/gdrive/MyDrive/MMAT5390/jacky.jpg')"],"metadata":{"id":"8A6P-2Ub8vse","executionInfo":{"status":"ok","timestamp":1643109374734,"user_tz":-480,"elapsed":484,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}}},"execution_count":7,"outputs":[]},{"cell_type":"code","source":["plt.imshow(img)"],"metadata":{"id":"O0aIpE7G81SV","executionInfo":{"status":"ok","timestamp":1643109384413,"user_tz":-480,"elapsed":1379,"user":{"displayName":"Qiguang Chen","photoUrl":"https://lh3.googleusercontent.com/a/default-user=s64","userId":"14502587551395597713"}},"outputId":"9c572fac-a50e-4d35-a580-7804052d665d","colab":{"base_uri":"https://localhost:8080/","height":288}},"execution_count":8,"outputs":[{"output_type":"execute_result","data":{"text/plain":["<matplotlib.image.AxesImage at 0x7f6f90476450>"]},"metadata":{},"execution_count":8},{"output_type":"display_data","data":{"image/png":"[encoded data, 105000 characters]\n","text/plain":["<Figure size 432x288 with 1 Axes>"]},"metadata":{"needs_background":"light"}}]},{"cell_type":"code","source":[""],"metadata":{"id":"oVljE7hN83N9"},"execution_count":null,"outputs":[]}]}