Skip to content
Snippets Groups Projects

sensorboard tests

parent 539d36f0
No related branches found
No related tags found
No related merge requests found
source diff could not be displayed: it is too large. Options to address this: view the blob.
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras.callbacks import TensorBoard
import numpy as np
import h5py
from sklearn.metrics import confusion_matrix
import matplotlib.pyplot as plt
import seaborn as sn
import os, time, random
import idle.pwk as ooo
from importlib import reload
ooo.init()
```
%% Output
IDLE 2020 - Practical Work Module
Version : 0.1.4
Run time : Saturday 11 January 2020, 17:51:11
Matplotlib style : idle/talk.mplstyle
TensorFlow version : 2.0.0
Keras version : 2.2.4-tf
%% Cell type:code id: tags:
``` python
!kill $(ps ax | grep 'tensorboard --host 0.0.0.0 --port 18529' | grep -v grep | awk '{print $1}')
```
%% Output
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
%% Cell type:code id: tags:
``` python
%load_ext tensorboard
```
%% Cell type:code id: tags:
``` python
%tensorboard --host 0.0.0.0 --port 18529 --logdir ./run/logs
```
%% Output
%% Cell type:code id: tags:
``` python
!ls ./run/logs
```
%% Output
tb_2020-01-11_17h44m55s
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment