Error when using annotator
rubeea opened this issue · comments
Rabeea Jaffari commented
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
Rabeea Jaffari commented
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.