{"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":"markdown","source":"![logo](https://raw.githubusercontent.com/facebookresearch/detectron2/main/.github/Detectron2-Logo-Horz.svg)","metadata":{"execution":{"iopub.status.busy":"2021-10-20T17:32:08.353083Z","iopub.execute_input":"2021-10-20T17:32:08.353339Z","iopub.status.idle":"2021-10-20T17:32:09.15178Z","shell.execute_reply.started":"2021-10-20T17:32:08.353307Z","shell.execute_reply":"2021-10-20T17:32:09.150512Z"}}},{"cell_type":"markdown","source":"Fetch the repository and prepare for use in other notebooks (offline).","metadata":{}},{"cell_type":"code","source":"!git clone https://github.com/facebookresearch/detectron2.git","metadata":{"_kg_hide-input":false,"_kg_hide-output":true,"execution":{"iopub.status.busy":"2022-01-11T09:37:09.889045Z","iopub.execute_input":"2022-01-11T09:37:09.889389Z","iopub.status.idle":"2022-01-11T09:37:11.893409Z","shell.execute_reply.started":"2022-01-11T09:37:09.889302Z","shell.execute_reply":"2022-01-11T09:37:11.892616Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%cd detectron2","metadata":{"execution":{"iopub.status.busy":"2022-01-11T09:37:11.895370Z","iopub.execute_input":"2022-01-11T09:37:11.895656Z","iopub.status.idle":"2022-01-11T09:37:11.902094Z","shell.execute_reply.started":"2022-01-11T09:37:11.895621Z","shell.execute_reply":"2022-01-11T09:37:11.901409Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!pip install -U .","metadata":{"_kg_hide-output":true,"execution":{"iopub.status.busy":"2022-01-11T09:37:11.903595Z","iopub.execute_input":"2022-01-11T09:37:11.904188Z","iopub.status.idle":"2022-01-11T09:40:24.433787Z","shell.execute_reply.started":"2022-01-11T09:37:11.904152Z","shell.execute_reply":"2022-01-11T09:40:24.432971Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%cd /kaggle/working","metadata":{"execution":{"iopub.status.busy":"2022-01-11T09:40:24.436145Z","iopub.execute_input":"2022-01-11T09:40:24.436437Z","iopub.status.idle":"2022-01-11T09:40:24.444762Z","shell.execute_reply.started":"2022-01-11T09:40:24.436391Z","shell.execute_reply":"2022-01-11T09:40:24.443838Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%%writefile requirements.txt\npycocotools==2.0.2\nfvcore==0.1.5.post20211019\nomegaconf==2.1.1\nhydra-core==1.1.1\nblack==21.4b2\niopath==0.1.9\nantlr4-python3-runtime==4.8","metadata":{"execution":{"iopub.status.busy":"2022-01-11T09:40:24.446332Z","iopub.execute_input":"2022-01-11T09:40:24.446871Z","iopub.status.idle":"2022-01-11T09:40:24.460843Z","shell.execute_reply.started":"2022-01-11T09:40:24.446836Z","shell.execute_reply":"2022-01-11T09:40:24.460113Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!pip wheel --wheel-dir=./wheels_cache -r requirements.txt","metadata":{"_kg_hide-output":true,"execution":{"iopub.status.busy":"2022-01-11T09:40:24.462205Z","iopub.execute_input":"2022-01-11T09:40:24.462740Z","iopub.status.idle":"2022-01-11T09:40:44.690426Z","shell.execute_reply.started":"2022-01-11T09:40:24.462674Z","shell.execute_reply":"2022-01-11T09:40:44.689454Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!ls -al wheels_cache","metadata":{"execution":{"iopub.status.busy":"2022-01-11T09:40:44.693857Z","iopub.execute_input":"2022-01-11T09:40:44.694096Z","iopub.status.idle":"2022-01-11T09:40:45.362076Z","shell.execute_reply.started":"2022-01-11T09:40:44.694069Z","shell.execute_reply":"2022-01-11T09:40:45.361070Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}