Jupyter notebooks info

main
Jeff Moe 2022-05-25 16:12:03 -06:00
parent 18e49c744a
commit c093ed7d58
1 changed files with 21 additions and 18 deletions

View File

@ -52,11 +52,12 @@ pip install --user --upgrade -r requirements.txt
# witzit scripts # witzit scripts
* `witzit-load.py` --- Load and text display a sample CSV. * `witzit-load.py` --- Load and text display an example MCA.
Development is most easily done under Jupyter with Tensorboard Development is most easily done under Jupyter with Tensorboard
for training models. These files are in the `notebooks/` directory. for training models. These files are in the `notebooks/` directory.
* `witzit-plot.ipynb` --- witzit Jupyter notebook, plotting application.
* `witzit-predict.ipynb` --- witzit Jupyter notebook, prediction application. * `witzit-predict.ipynb` --- witzit Jupyter notebook, prediction application.
* `witzit-train.ipynb` --- witzit Jupyter notebook, training application. * `witzit-train.ipynb` --- witzit Jupyter notebook, training application.
@ -95,24 +96,26 @@ HOWTO USE. Getting closer...
``` ```
# Example: # Example:
debian@workstation:~/spacecruft/witzit$ ./witzit-load.py debian@workstation:~/spacecruft/witzit$ ./witzit-load.py
Tensorflow Version: 2.7.0 energy (eV) 2048
Num GPUs Available: 0 0 20.590676 0
Num CPUs Available: 1 1 45.021816 0
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')] 2 69.452957 0
Pixel Index wavelength intensity 3 93.884097 0
0 1 186.551108 13.956667 ...
1 2 186.647845 9.773333 1023 25013.647367 175
2 3 186.744576 19.723333 1024 25038.078508 173
3 4 186.841300 17.223333 1025 25062.509648 155
4 5 186.938018 16.006667 1026 25086.940789 193
... ... ... ... ...
8259 8260 960.998400 0.000000 2047 50031.135199 1
8260 8261 960.998800 0.000000 ```
8261 8262 960.999200 0.000000
8262 8263 960.999600 0.000000
8263 8264 961.000000 1454.250000
[8264 rows x 3 columns] ## Jupyter Notebooks
Run jupyter thusly:
```
cd witzit/notebooks
jupyter-lab
``` ```
# Hardware # Hardware