+{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"kaggle.ipynb","private_outputs":true,"provenance":[],"collapsed_sections":[],"mount_file_id":"1hLtzjo4-3wFzEzKktEo7PCRz4UjXfWsQ","authorship_tag":"ABX9TyPk115V3KMhyFM3019ES0a2"},"kernelspec":{"name":"python3","display_name":"Python 3"},"accelerator":"GPU"},"cells":[{"cell_type":"code","metadata":{"id":"QaGpLRlThgZy"},"source":["import torch\n","\n","checkpoint = torch.load('/content/drive/MyDrive/ml/weight/latest_checkpoint.pth')\n","start_epoch = checkpoint['epoch']\n","print(start_epoch, 'load parameter')"],"execution_count":null,"outputs":[]},{"cell_type":"code","metadata":{"id":"a5SF_qufu9tv"},"source":["!tar -xvf /content/drive/MyDrive/ml/khu_competition.tar"],"execution_count":null,"outputs":[]},{"cell_type":"code","metadata":{"id":"HW3TRN0O1D-o"},"source":["!find /content/train -type f | wc -l"],"execution_count":null,"outputs":[]},{"cell_type":"code","metadata":{"id":"5NuMZX4pixxj"},"source":["!find /content/test -type f | wc -l"],"execution_count":null,"outputs":[]},{"cell_type":"code","metadata":{"id":"z4Si23qLhYvy"},"source":["cd /content/drive/MyDrive/ml"],"execution_count":null,"outputs":[]},{"cell_type":"code","metadata":{"id":"N1qJ6ookxtua"},"source":["!nvidia-smi"],"execution_count":null,"outputs":[]},{"cell_type":"code","metadata":{"id":"58hpXkoH1MR6"},"source":["import train\n","import importlib\n","importlib.reload(train)\n","\n","train.main()"],"execution_count":null,"outputs":[]},{"cell_type":"code","metadata":{"id":"jHry7nsei_1v"},"source":["import eval\n","import importlib\n","importlib.reload(eval)\n","\n","eval.main()"],"execution_count":null,"outputs":[]}]}
0 commit comments