bug是:
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /home/mawenya/opencv-3.3.0/modules/highgui/src/window.cpp, line 605
OpenCV exception: draw_train_loss()
解决方法:https://www.cnblogs.com/jackkwok/p/9076434.html