This is what the questionmark was for

master
Tuan-Dat Tran 2021-08-06 23:19:00 +02:00
parent 7139b25868
commit cf05c7cc1b
1 changed files with 51 additions and 51 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "f97d492f", "id": "7b267a00",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Change Scenario here.\n", "# Change Scenario here.\n",
@ -24,7 +24,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 1,
"id": "f6220693", "id": "89e64979",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -35,7 +35,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "6d569ebf", "id": "78d89b56",
"metadata": {}, "metadata": {},
"source": [ "source": [
"## Constants" "## Constants"
@ -44,7 +44,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 2,
"id": "3d34815c", "id": "ac30b29b",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -57,7 +57,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 3,
"id": "22237fa1", "id": "93caedf8",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -72,7 +72,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "b220134d", "id": "85df72a7",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Config" "# Config"
@ -81,11 +81,11 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 4,
"id": "ff0d90d9", "id": "95998d2f",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"create_new = True\n", "create_new = False\n",
"checkpoint_path = f\"training_{cenario}/cp.ckpt\"\n", "checkpoint_path = f\"training_{cenario}/cp.ckpt\"\n",
"checkpoint_dir = os.path.dirname(checkpoint_path)\n", "checkpoint_dir = os.path.dirname(checkpoint_path)\n",
"\n", "\n",
@ -104,7 +104,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "819834af", "id": "dbb78517",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Helper Functions" "# Helper Functions"
@ -113,7 +113,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 5,
"id": "db6e77dc", "id": "ff7846ef",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -131,7 +131,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "6a0431cf", "id": "8b24a0b6",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Loading Data" "# Loading Data"
@ -140,7 +140,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 6,
"id": "e959d5aa", "id": "208b2541",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@ -185,7 +185,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 7,
"id": "19976126", "id": "2b0d4f09",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -200,7 +200,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 8,
"id": "3cb2910c", "id": "c1dba068",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -215,7 +215,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 9,
"id": "062fbcda", "id": "24618fd1",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -251,7 +251,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 10,
"id": "eb844cab", "id": "c7aa13b0",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@ -309,7 +309,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "21caabe5", "id": "2d57c298",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Preprocessing" "# Preprocessing"
@ -318,7 +318,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 11,
"id": "3f72125c", "id": "c3e6103d",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@ -338,7 +338,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 12,
"id": "4ce4cae7", "id": "60c0fdc1",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -367,7 +367,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 13,
"id": "c72e677d", "id": "6999b99e",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -395,7 +395,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 14,
"id": "322c13e7", "id": "58c8236d",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -411,7 +411,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 15,
"id": "bf81d3ed", "id": "3b92ad51",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -436,7 +436,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 16,
"id": "d5dd8da8", "id": "a0a84f32",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@ -472,7 +472,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 17, "execution_count": 17,
"id": "9733336e", "id": "f273c028",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -483,7 +483,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 18, "execution_count": 18,
"id": "3f74d664", "id": "f8f39e17",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -507,7 +507,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 19, "execution_count": 19,
"id": "84b87eac", "id": "34559bb8",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -525,7 +525,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 20,
"id": "bdd01b2f", "id": "25a4490b",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -594,7 +594,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 21,
"id": "892d5852", "id": "42fbd7f3",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -629,7 +629,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 22, "execution_count": 22,
"id": "39ad9063", "id": "2ac72178",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -664,7 +664,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": 23,
"id": "5257f8a3", "id": "e630d26e",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -699,7 +699,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 24, "execution_count": 24,
"id": "ce91623f", "id": "1cb13163",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -734,7 +734,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 25, "execution_count": 25,
"id": "01759009", "id": "a0c5c99a",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -767,7 +767,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 26, "execution_count": 26,
"id": "84b6ba0b", "id": "435315a3",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -841,7 +841,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 27, "execution_count": 27,
"id": "11d535e3", "id": "c7bee077",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@ -902,7 +902,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 28, "execution_count": 28,
"id": "8b39db31", "id": "a8a3cba9",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@ -962,7 +962,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 29, "execution_count": 29,
"id": "8ab5b1b0", "id": "edb7b3d8",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -988,7 +988,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 30, "execution_count": 30,
"id": "17ab5592", "id": "4dfb1c95",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -1005,7 +1005,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 31, "execution_count": 31,
"id": "ae01b11b", "id": "02a4352e",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1028,7 +1028,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "61aa2f65", "id": "047824bd",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Building Model" "# Building Model"
@ -1037,7 +1037,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 32, "execution_count": 32,
"id": "dda54ca3", "id": "c75e2dfb",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -1082,7 +1082,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 33, "execution_count": 33,
"id": "9da5f916", "id": "614e0dd3",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -1115,7 +1115,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 34, "execution_count": 34,
"id": "f078aec3", "id": "e68a9c14",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1298,7 +1298,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "ef53285d", "id": "ee1e64d5",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Eval" "# Eval"
@ -1307,7 +1307,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 35, "execution_count": 35,
"id": "073e281f", "id": "5c22d6a0",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -1326,7 +1326,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 36, "execution_count": 36,
"id": "61519002", "id": "830cd599",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1360,7 +1360,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 37, "execution_count": 37,
"id": "77f6f25b", "id": "f5adf4c0",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1395,7 +1395,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 38, "execution_count": 38,
"id": "28d924cb", "id": "8a214570",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1417,7 +1417,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 39, "execution_count": 39,
"id": "61f24ceb", "id": "934fdadf",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1490,7 +1490,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 40, "execution_count": 40,
"id": "3533008c", "id": "6fc6759c",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1551,7 +1551,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 41, "execution_count": 41,
"id": "066c889a", "id": "07eaedf6",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1581,7 +1581,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"id": "452840ea", "id": "a8f8bfde",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [] "source": []