Finished Sliding Window (problem with labels)

master
Tuan-Dat Tran 2021-07-17 17:40:05 +02:00
parent 6f50d0cf1d
commit 5c9e906eb5
2 changed files with 564 additions and 2022 deletions

View File

@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "be7fb1d9",
"id": "920f21b6",
"metadata": {},
"outputs": [],
"source": [
@ -15,7 +15,7 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "6ed9eb14",
"id": "9494dff5",
"metadata": {},
"outputs": [],
"source": [
@ -44,7 +44,7 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "3b4401d0",
"id": "ac87093f",
"metadata": {},
"outputs": [],
"source": [
@ -57,7 +57,7 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "9af8908e",
"id": "ff9eeb53",
"metadata": {},
"outputs": [],
"source": [
@ -74,7 +74,7 @@
{
"cell_type": "code",
"execution_count": 5,
"id": "00579598",
"id": "ec8ff24a",
"metadata": {},
"outputs": [
{
@ -106,7 +106,7 @@
{
"cell_type": "code",
"execution_count": 6,
"id": "dd2ba5c9",
"id": "18326042",
"metadata": {},
"outputs": [],
"source": [
@ -162,7 +162,7 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "f383e21e",
"id": "8252cda5",
"metadata": {},
"outputs": [],
"source": [
@ -178,7 +178,7 @@
{
"cell_type": "code",
"execution_count": 8,
"id": "e40b33bf",
"id": "330b79aa",
"metadata": {},
"outputs": [],
"source": [
@ -208,7 +208,7 @@
{
"cell_type": "code",
"execution_count": 9,
"id": "56bce2a5",
"id": "7989f97f",
"metadata": {},
"outputs": [],
"source": [
@ -227,7 +227,7 @@
{
"cell_type": "code",
"execution_count": 10,
"id": "808f43c3",
"id": "06926b00",
"metadata": {},
"outputs": [],
"source": [
@ -245,7 +245,7 @@
{
"cell_type": "code",
"execution_count": 11,
"id": "7dd050be",
"id": "56a8c615",
"metadata": {},
"outputs": [],
"source": [
@ -275,7 +275,7 @@
{
"cell_type": "code",
"execution_count": 12,
"id": "fc701b87",
"id": "0a347c17",
"metadata": {},
"outputs": [],
"source": [
@ -317,7 +317,7 @@
{
"cell_type": "code",
"execution_count": 13,
"id": "048718bd",
"id": "aadf64f9",
"metadata": {},
"outputs": [],
"source": [
@ -339,7 +339,7 @@
{
"cell_type": "code",
"execution_count": 14,
"id": "68335fef",
"id": "e7bfb918",
"metadata": {},
"outputs": [],
"source": [
@ -359,7 +359,7 @@
{
"cell_type": "code",
"execution_count": 15,
"id": "67ac50ef",
"id": "7ea5ec4d",
"metadata": {},
"outputs": [],
"source": [
@ -402,13 +402,12 @@
{
"cell_type": "code",
"execution_count": 16,
"id": "1b5f3868",
"id": "b62d2f11",
"metadata": {},
"outputs": [],
"source": [
"checkpoint_file = './goat.weights'\n",
"\n",
"\n",
"def train(X_train, y_train, X_test, y_test):\n",
" model = build_model()\n",
" \n",
@ -439,7 +438,7 @@
{
"cell_type": "code",
"execution_count": 17,
"id": "24d0b968",
"id": "8c03d2a3",
"metadata": {
"tags": []
},
@ -452,7 +451,7 @@
{
"cell_type": "code",
"execution_count": 23,
"id": "44b5e9f3",
"id": "5c9f56eb",
"metadata": {},
"outputs": [],
"source": [
@ -477,7 +476,7 @@
{
"cell_type": "code",
"execution_count": 24,
"id": "93d19897",
"id": "c86a5870",
"metadata": {
"tags": []
},
@ -596,7 +595,7 @@
{
"cell_type": "code",
"execution_count": 26,
"id": "c00b7ffe",
"id": "de7a2614",
"metadata": {},
"outputs": [
{
@ -617,7 +616,7 @@
{
"cell_type": "code",
"execution_count": 27,
"id": "1cd94b4c",
"id": "9f67f663",
"metadata": {},
"outputs": [
{
@ -638,7 +637,7 @@
{
"cell_type": "code",
"execution_count": 28,
"id": "dc5f4f81",
"id": "376ed54c",
"metadata": {
"tags": []
},
@ -652,7 +651,7 @@
{
"cell_type": "code",
"execution_count": 29,
"id": "37180b0e",
"id": "8bb6a389",
"metadata": {
"tags": []
},
@ -686,7 +685,7 @@
{
"cell_type": "code",
"execution_count": 30,
"id": "142787fc",
"id": "68b447f0",
"metadata": {
"tags": []
},
@ -715,7 +714,7 @@
{
"cell_type": "code",
"execution_count": 31,
"id": "8badef83",
"id": "20c0eb4e",
"metadata": {},
"outputs": [
{
@ -741,7 +740,7 @@
{
"cell_type": "code",
"execution_count": 32,
"id": "bd54349d",
"id": "b1095a11",
"metadata": {},
"outputs": [
{
@ -1016,7 +1015,7 @@
{
"cell_type": "code",
"execution_count": 33,
"id": "94c2a01e",
"id": "3228ce57",
"metadata": {},
"outputs": [
{
@ -1291,7 +1290,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f17eeb73",
"id": "cf15d166",
"metadata": {},
"outputs": [],
"source": []

File diff suppressed because one or more lines are too long