{"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":"!git clone https://github.com/smly/kaggle-book-gokui.git","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-01-31T02:31:23.804761Z","iopub.execute_input":"2023-01-31T02:31:23.805264Z","iopub.status.idle":"2023-01-31T02:31:25.891229Z","shell.execute_reply.started":"2023-01-31T02:31:23.805165Z","shell.execute_reply":"2023-01-31T02:31:25.889860Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!unzip -q -n ../input/dogs-vs-cats-redux-kernels-edition/train.zip -d dogs_vs_cats\n!unzip -q -n ../input/dogs-vs-cats-redux-kernels-edition/test.zip -d dogs_vs_cats\n!mkdir -p dogs_vs_cats/train/cat\n!mkdir -p dogs_vs_cats/train/dog\n!mkdir -p dogs_vs_cats/test/unknown\n!mv dogs_vs_cats/train/cat*.jpg dogs_vs_cats/train/cat\n!mv dogs_vs_cats/train/dog*.jpg dogs_vs_cats/train/dog\n!mv dogs_vs_cats/test/*.jpg dogs_vs_cats/test/unknown","metadata":{"execution":{"iopub.status.busy":"2023-01-31T02:31:25.897470Z","iopub.execute_input":"2023-01-31T02:31:25.899969Z","iopub.status.idle":"2023-01-31T02:31:53.289795Z","shell.execute_reply.started":"2023-01-31T02:31:25.899911Z","shell.execute_reply":"2023-01-31T02:31:53.288422Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"cd kaggle-book-gokui/chapter3","metadata":{"execution":{"iopub.status.busy":"2023-01-31T02:31:53.291800Z","iopub.execute_input":"2023-01-31T02:31:53.292183Z","iopub.status.idle":"2023-01-31T02:31:53.300288Z","shell.execute_reply.started":"2023-01-31T02:31:53.292142Z","shell.execute_reply":"2023-01-31T02:31:53.299125Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!python run_all.py --data_dir=../../dogs_vs_cats --dryrun","metadata":{"execution":{"iopub.status.busy":"2023-01-31T02:31:53.303132Z","iopub.execute_input":"2023-01-31T02:31:53.303846Z","iopub.status.idle":"2023-01-31T02:34:22.491167Z","shell.execute_reply.started":"2023-01-31T02:31:53.303811Z","shell.execute_reply":"2023-01-31T02:34:22.489642Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!head out/*/*/out_clip.csv","metadata":{"execution":{"iopub.status.busy":"2023-01-31T02:40:54.182106Z","iopub.execute_input":"2023-01-31T02:40:54.182499Z","iopub.status.idle":"2023-01-31T02:40:55.131805Z","shell.execute_reply.started":"2023-01-31T02:40:54.182462Z","shell.execute_reply":"2023-01-31T02:40:55.130578Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!rm -rf ../../dogs_vs_cats","metadata":{"execution":{"iopub.status.busy":"2023-01-31T02:34:22.492931Z","iopub.execute_input":"2023-01-31T02:34:22.493702Z","iopub.status.idle":"2023-01-31T02:34:24.508629Z","shell.execute_reply.started":"2023-01-31T02:34:22.493637Z","shell.execute_reply":"2023-01-31T02:34:24.507304Z"},"trusted":true},"execution_count":null,"outputs":[]}]}