kind of working

master
ml server 2020-01-24 17:09:21 -07:00
parent f9796bcf1b
commit a36ab62de9
1 changed files with 3 additions and 6 deletions

View File

@ -80,10 +80,7 @@
"minobsid=1292461\n",
"base_dir = ('/srv/wut/data')\n",
"sample_dir = ('/srv/wut/data/test/unvetted')\n",
"model_file = os.path.join(base_dir, 'models', 'wut-DUV-201912.tf')\n",
"tmp_dir = tempfile.mkdtemp()\n",
"test_dir = os.path.join(tmp_dir)\n",
"os.makedirs(test_dir + '/unvetted', exist_ok=True)"
"model_file = os.path.join(base_dir, 'models', 'wut-DUV-201912.tf')"
]
},
{
@ -157,9 +154,9 @@
" else:\n",
" print(\"NOTE: wut has not been trained on\", obs_transmitter_mode, \"encodings.\")\n",
"\n",
" print()\n",
" print('https://network.satnogs.org/observations/' + str(obs_id))\n",
" \n",
" print()\n",
" \n",
" display(img)\n",
" shutil.rmtree(test_dir)\n",
" #!cat $obsjsonfile"