{"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":"# This Python 3 environment comes with many helpful analytics libraries installed\n# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python\n# For example, here's several helpful packages to load\n\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\n\n# Input data files are available in the read-only \"../input/\" directory\n# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory\n\nimport os\nfor dirname, _, filenames in os.walk('/kaggle/input'):\n    for filename in filenames:\n        print(os.path.join(dirname, filename))\n\n# You can write up to 20GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using \"Save & Run All\" \n# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session","metadata":{"_uuid":"b0a5e909-5438-49c3-bffc-454e882160bb","_cell_guid":"6ab81cfe-8b94-4078-a1f1-26fe3d818122","collapsed":false,"jupyter":{"outputs_hidden":false},"execution":{"iopub.status.busy":"2021-12-19T08:43:33.412642Z","iopub.execute_input":"2021-12-19T08:43:33.413233Z","iopub.status.idle":"2021-12-19T08:43:34.659877Z","shell.execute_reply.started":"2021-12-19T08:43:33.413188Z","shell.execute_reply":"2021-12-19T08:43:34.65769Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import torch\nprint(torch.__version__)","metadata":{"execution":{"iopub.status.busy":"2021-12-19T08:43:34.661197Z","iopub.status.idle":"2021-12-19T08:43:34.661963Z","shell.execute_reply.started":"2021-12-19T08:43:34.6617Z","shell.execute_reply":"2021-12-19T08:43:34.661727Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!git clone https://github.com/h8c2/kaggle-landmark-recognition-2020-1st-place.git","metadata":{"_uuid":"dcf013e7-94a1-44ca-9ba6-4466c5e4f917","_cell_guid":"6e3b3d54-53ec-481d-befc-ddb810fbed20","collapsed":false,"jupyter":{"outputs_hidden":false},"execution":{"iopub.status.busy":"2021-12-24T05:03:17.695048Z","iopub.execute_input":"2021-12-24T05:03:17.695648Z","iopub.status.idle":"2021-12-24T05:03:19.5333Z","shell.execute_reply.started":"2021-12-24T05:03:17.69554Z","shell.execute_reply":"2021-12-24T05:03:19.532197Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"cd kaggle-landmark-recognition-2020-1st-place/src","metadata":{"execution":{"iopub.status.busy":"2021-12-24T05:03:19.53758Z","iopub.execute_input":"2021-12-24T05:03:19.537847Z","iopub.status.idle":"2021-12-24T05:03:19.546442Z","shell.execute_reply.started":"2021-12-24T05:03:19.537815Z","shell.execute_reply":"2021-12-24T05:03:19.545348Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"pip install timm","metadata":{"execution":{"iopub.status.busy":"2021-12-24T05:03:19.548458Z","iopub.execute_input":"2021-12-24T05:03:19.549483Z","iopub.status.idle":"2021-12-24T05:03:32.306827Z","shell.execute_reply.started":"2021-12-24T05:03:19.54943Z","shell.execute_reply":"2021-12-24T05:03:32.305413Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"pip install pytorch-lightning==1.5.6","metadata":{"execution":{"iopub.status.busy":"2021-12-24T05:03:32.309893Z","iopub.execute_input":"2021-12-24T05:03:32.310524Z","iopub.status.idle":"2021-12-24T05:03:45.204833Z","shell.execute_reply.started":"2021-12-24T05:03:32.310471Z","shell.execute_reply":"2021-12-24T05:03:45.203683Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!python train.py --config config7","metadata":{"execution":{"iopub.status.busy":"2021-12-24T05:04:00.721351Z","iopub.execute_input":"2021-12-24T05:04:00.722135Z"},"trusted":true},"execution_count":null,"outputs":[]}]}