msSegment is a program for the binarization of multispectral document images. The project is a fork of dhSegment, which is developed by Benoit Seguin and Sofia Ares Oliveira at DHLAB, EPFL.
watch -n1 nvidia-smi
- export environment:
pip freeze > requirements.txt - read environment:
pip install -r requirements.txt - show the GPU workload:
watch -n 0.5 nvidia-smi - show available versions for tensorflow:
pip install tensorflow== - install version 1.12:
pip install tensorflow==1.12.0 - check if gpu is supported by tensorflow version:
pythonimport tensorflow as tfsess = tf.Session(config=tf.ConfigProto(log_device_placement=True))