diff --git a/Train.ipynb b/Train.ipynb index 735f1c3..5155cfc 100644 --- a/Train.ipynb +++ b/Train.ipynb @@ -1,20 +1,4 @@ { - "nbformat": 4, - "nbformat_minor": 0, - "metadata": { - "colab": { - "provenance": [], - "gpuType": "T4" - }, - "kernelspec": { - "name": "python3", - "display_name": "Python 3" - }, - "language_info": { - "name": "python" - }, - "accelerator": "GPU" - }, "cells": [ { "cell_type": "code", @@ -26,15 +10,24 @@ "id": "oWmhhwEbL9y0", "outputId": "40a8a0ff-192c-4f3b-b543-29d05074280a" }, + "outputs": [], "source": [ "!pip install -r requirements.txt" ] }, { "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ - "!python train.py" - ], + "!gunzip SnoepAll.csv.gz\n", + "!wget --content-disposition https://github.com/timvisee/ffsend/releases/download/v0.2.77/ffsend-v0.2.77-linux-x64-static" + ] + }, + { + "cell_type": "code", + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" @@ -42,7 +35,36 @@ "id": "Z4wMN1sUN1r-", "outputId": "432f324d-25f2-41b5-d4f2-843ed0209ec7" }, + "outputs": [], + "source": [ + "!python train.py" + ] + }, + { + "cell_type": "code", "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "!tar czvf out.tar.gz trained_model\n", + "!./ffsend-v0.2.77-linux-x64-static u -h https://send.hoeftnietmagwel.nl/ out.tar.gz" + ] } - ] + ], + "metadata": { + "accelerator": "GPU", + "colab": { + "gpuType": "T4", + "provenance": [] + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 0 }