meh training of GMSK

master
ml server 2020-01-30 18:00:39 -07:00
parent d96585e514
commit 4d23a231b0
1 changed files with 30 additions and 67 deletions

View File

@ -241,7 +241,7 @@
"metadata": {},
"outputs": [],
"source": [
"batch_size = 32\n",
"batch_size = 128\n",
"epochs = 16"
]
},
@ -251,8 +251,8 @@
"metadata": {},
"outputs": [],
"source": [
"IMG_WIDTH = 832\n",
"IMG_HEIGHT = 1606"
"IMG_WIDTH = 416\n",
"IMG_HEIGHT = 803"
]
},
{
@ -475,73 +475,16 @@
"metadata": {},
"outputs": [],
"source": [
"print(\"TRAINING info\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(train_dir)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(\"TRAINING info\")\n",
"print(train_dir)\n",
"print(train_good_dir)\n",
"print(train_bad_dir)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(train_image_generator)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(train_data_gen)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#print(sample_train_images)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(train_bad_dir)\n",
"print(train_image_generator)\n",
"print(train_data_gen)\n",
"#print(sample_train_images)\n",
"print(history)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Save data here"
]
},
{
"cell_type": "code",
"execution_count": null,
@ -566,7 +509,27 @@
"metadata": {},
"outputs": [],
"source": [
"# The End"
"from tensorflow.keras.utils import plot_model"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plot_model(model, show_shapes=True, show_layer_names=True, expand_nested=True, dpi=72, to_file='/srv/satnogs/data/models/GMSK/plot_model.png')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#from IPython.display import SVG\n",
"#from tensorflow.keras.utils import model_to_dot\n",
"#SVG(model_to_dot(model).create(prog='dot', format='svg'))"
]
}
],