{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import os\nimport numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\n\nimport tensorflow as tf\nprint(\"TensorFlow Version: \", tf.__version__)","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-06-23T00:53:39.058171Z","iopub.execute_input":"2022-06-23T00:53:39.058650Z","iopub.status.idle":"2022-06-23T00:53:48.531350Z","shell.execute_reply.started":"2022-06-23T00:53:39.058559Z","shell.execute_reply":"2022-06-23T00:53:48.529934Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!pip install --user tensorflow-io","metadata":{"execution":{"iopub.status.busy":"2022-06-23T00:59:15.277353Z","iopub.execute_input":"2022-06-23T00:59:15.277756Z","iopub.status.idle":"2022-06-23T00:59:24.166068Z","shell.execute_reply.started":"2022-06-23T00:59:15.277724Z","shell.execute_reply":"2022-06-23T00:59:24.164982Z"},"_kg_hide-output":true,"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import tensorflow_io as tfio\nprint(tfio.__version__)","metadata":{"execution":{"iopub.status.busy":"2022-06-23T00:59:36.722639Z","iopub.execute_input":"2022-06-23T00:59:36.723019Z","iopub.status.idle":"2022-06-23T00:59:38.268898Z","shell.execute_reply.started":"2022-06-23T00:59:36.722974Z","shell.execute_reply":"2022-06-23T00:59:38.267669Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"images_tiff_path = '../input/hubmap-organ-segmentation/train_images/10044.tiff'","metadata":{"execution":{"iopub.status.busy":"2022-06-23T01:00:44.738314Z","iopub.execute_input":"2022-06-23T01:00:44.738757Z","iopub.status.idle":"2022-06-23T01:00:44.743923Z","shell.execute_reply.started":"2022-06-23T01:00:44.738712Z","shell.execute_reply":"2022-06-23T01:00:44.742783Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"image = tf.io.read_file(images_tiff_path)\nimage = tfio.experimental.image.decode_tiff(image)","metadata":{"execution":{"iopub.status.busy":"2022-06-23T01:01:31.302232Z","iopub.execute_input":"2022-06-23T01:01:31.302670Z","iopub.status.idle":"2022-06-23T01:01:31.424094Z","shell.execute_reply.started":"2022-06-23T01:01:31.302633Z","shell.execute_reply":"2022-06-23T01:01:31.422959Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"plt.imshow(image)","metadata":{"execution":{"iopub.status.busy":"2022-06-23T01:01:38.018004Z","iopub.execute_input":"2022-06-23T01:01:38.019232Z","iopub.status.idle":"2022-06-23T01:01:39.279954Z","shell.execute_reply.started":"2022-06-23T01:01:38.019193Z","shell.execute_reply":"2022-06-23T01:01:39.278644Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"WORK IN PROGRESS","metadata":{}},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}