Skip to content

Commit a0e8c8d

Browse files
committed
Make the training notebook more Google Colab friendly
1 parent f4461f6 commit a0e8c8d

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

2_training.ipynb

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"source": [
77
"# ClimateHack.AI 2023: Training a Basic Model\n",
88
"\n",
9-
"Thank you for participating in ClimateHack.AI 2023! \n",
9+
"Thank you for participating in ClimateHack.AI 2023! 🌍\n",
1010
"\n",
1111
"Your contributions could help cut carbon emissions by up to 100 kilotonnes per year in Great Britain alone. We look forward to seeing what you build over the course of the competition!\n",
1212
"\n",
13-
"In this Jupyter notebook, you will hopefully train your first model for the challenge using historical solar PV data and HRV satellite imagery."
13+
"In this Jupyter notebook, you will hopefully train your first model for the challenge using historical solar PV data and HRV satellite imagery.\n",
14+
"\n",
15+
"For more detailed information on the challenge, see the [DOXA AI competition page](https://doxaai.com/competition/climatehackai-2023/overview). 😎"
1416
]
1517
},
1618
{
@@ -74,6 +76,31 @@
7476
"device"
7577
]
7678
},
79+
{
80+
"cell_type": "markdown",
81+
"metadata": {},
82+
"source": [
83+
"## Creating your submission directory\n",
84+
"\n",
85+
"If you cloned [this repository](https://github.com/climatehackai/getting-started-2023) straight from GitHub, you will already have all the files you need, but if you are running this notebook using Google Colab, we just need to download a couple extra files to create a fresh submission directory that you will soon hopefully be in a position to upload to the platform as part of your first competition submission.\n"
86+
]
87+
},
88+
{
89+
"cell_type": "code",
90+
"execution_count": null,
91+
"metadata": {},
92+
"outputs": [],
93+
"source": [
94+
"if not os.path.exists(\"submission\"):\n",
95+
" os.makedirs(\"submission\", exist_ok=True)\n",
96+
"\n",
97+
" !curl -L https://raw.githubusercontent.com/climatehackai/getting-started-2023/main/submission/competition.py --output submission/competition.py\n",
98+
" !curl -L https://raw.githubusercontent.com/climatehackai/getting-started-2023/main/submission/doxa.yaml --output submission/doxa.yaml\n",
99+
" !curl -L https://raw.githubusercontent.com/climatehackai/getting-started-2023/main/submission/model.py --output submission/model.py\n",
100+
" !curl -L https://raw.githubusercontent.com/climatehackai/getting-started-2023/main/submission/run.py --output submission/run.py\n",
101+
" !curl -L https://raw.githubusercontent.com/climatehackai/getting-started-2023/main/indices.json --output indices.json"
102+
]
103+
},
77104
{
78105
"cell_type": "markdown",
79106
"metadata": {},

0 commit comments

Comments
 (0)