jgraving / DeepPoseKit

a toolkit for pose estimation using deep learning
http://deepposekit.org
Apache License 2.0
389 stars 90 forks source link

Error when using annotator #79

Closed rubeea closed 3 years ago

rubeea commented 3 years ago

Hi everyone,

I get the following error when I attempt to run the last cell that is app.run()

/home/rabeea/.local/lib/python3.6/site-packages/deepposekit/annotate/gui/Annotator.py:185: H5pyDeprecationWarning: dataset.value has been deprecated. Use dataset[()] instead. self.image_idx = np.sum(np.all(h5file["annotated"].value, axis=1)) - 1 : cannot connect to X server

I am running the command on a remote server. Kindly help me in fixing this.

Thanks

rubeea commented 3 years ago

I resolved the error by running the program on pycharm IDE. The prob was due to the fact that the remote server does not favor GUI.