deep learning in observe.py