{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"! pip install -q git+https://github.com/keras-team/keras-cv","metadata":{"_kg_hide-output":true,"_kg_hide-input":false,"execution":{"iopub.status.busy":"2023-09-01T11:34:41.592918Z","iopub.execute_input":"2023-09-01T11:34:41.59332Z","iopub.status.idle":"2023-09-01T11:35:15.914766Z","shell.execute_reply.started":"2023-09-01T11:34:41.593285Z","shell.execute_reply":"2023-09-01T11:35:15.91319Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import os\n# You can use `tensorflow`, `pytorch`, `jax` here\n# KerasCore makes the notebook backend agnostic :)\nos.environ[\"KERAS_BACKEND\"] = \"tensorflow\"\n\nimport keras_cv\nimport keras_core as keras\nfrom keras_core import layers\n\nimport numpy as np\nimport pandas as pd\nimport tensorflow as tf\nfrom matplotlib import pyplot as plt\nfrom sklearn.model_selection import train_test_split","metadata":{"execution":{"iopub.status.busy":"2023-09-01T11:35:15.917625Z","iopub.execute_input":"2023-09-01T11:35:15.918053Z","iopub.status.idle":"2023-09-01T11:35:33.76523Z","shell.execute_reply.started":"2023-09-01T11:35:15.918016Z","shell.execute_reply":"2023-09-01T11:35:33.763779Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"augmenter = keras_cv.layers.Augmenter(\n        [\n            keras_cv.layers.RandomFlip(mode=\"horizontal_and_vertical\"),\n            keras_cv.layers.RandomCutout(height_factor=0.2, width_factor=0.2),\n            \n        ]\n    )","metadata":{"execution":{"iopub.status.busy":"2023-09-01T11:35:33.766682Z","iopub.execute_input":"2023-09-01T11:35:33.767594Z","iopub.status.idle":"2023-09-01T11:35:34.920663Z","shell.execute_reply.started":"2023-09-01T11:35:33.767557Z","shell.execute_reply":"2023-09-01T11:35:34.919005Z"},"trusted":true},"execution_count":null,"outputs":[]}],"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"}}