autonomio / talos

Hyperparameter Experiments with TensorFlow and Keras
https://autonom.io
MIT License
1.62k stars 268 forks source link

Fail to create pixmap with Tk_GetPixmap in TkImgPhotoInstanceSetSize #306

Closed Adblu closed 5 years ago

Adblu commented 5 years ago

Windows 10 ( I know ...), pycharm community, python 3.6.

During the test, it throws the error:

Fail to create pixmap with Tk_GetPixmap in TkImgPhotoInstanceSetSize
Process finished with exit code -2147483645

and stops the simulation.

mikkokotila commented 5 years ago

I don't think this has anything to do with Talos though. Windows 10 should be totally ok.

To be safe, can you share your model code.

Adblu commented 5 years ago

I don't think this has anything to do with Talos though. Windows 10 should be totally ok.

To be safe, can you share your model code.

I suspect it has something to do with the poping out display windows at each iteration. Is there any way to disable them ?

Its frustrating becouse talos allowed to run many iterations and in the middle thats whats happen.

mikkokotila commented 5 years ago

When you say "poping out display" do you refer to the live updating graph used in some of the examples? If yes, just remove the callback for that and the problem will go away.

Adblu commented 5 years ago

Problem solved :) Thank you

lovodkin93 commented 3 years ago

I keep getting this problem too. What have you done to solve it? @Adblu

Adblu commented 3 years ago

@lovodkin93 Just refer to the @mikkokotila answer.