Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About environments #2

Closed
henniekim opened this issue Jul 26, 2018 · 6 comments
Closed

About environments #2

henniekim opened this issue Jul 26, 2018 · 6 comments

Comments

@henniekim
Copy link

Hello!
I have been studying your paper and I'd like to demo your code.
But I have trouble in about python environments.
Could you please upload the environmnets list that you used?
Thank you in advance.

@WaqasSultani
Copy link
Owner

Hi I have used the following

Keras version 1.1.0

Theano 1.0.2

Python 3

Ubuntu 16.04

@henniekim
Copy link
Author

henniekim commented Jul 26, 2018

Thanks for quick reply :) but actually I would like to know about the details (e.g OpenCV version, pyQT version etc...)

@Hgeun
Copy link

Hgeun commented Jul 26, 2018

image
We have this error.

@indrango
Copy link

You can refactor PyQT4 to PyQT5 to running demo script

@WaqasSultani
Copy link
Owner

Ok. Thanks

@roggerfq
Copy link

I recommend using virtual environment with pyvenv, once you are in the virtual environment follow the following instructions to install qt4:

http://amyboyle.ninja/Python-Qt-and-virtualenv-in-linux

Do not forget to configure the file "$ HOME / .keras / keras.json" and set "theano" as back-end:

{
     "image_data_format": "channels_last",
     "epsilon": 1e-07,
     "floatx": "float32",
     "backend": "theano"
}

Finally, replace lines 134 and 135 of the "Demo_GUI.py" file:

         weights_path = Model_dir + 'weights_L1L2.mat'
         model_path = Model_dir + 'model.json'

Replace with:

         weights_path = 'weights_L1L2.mat'
         model_path = 'model.json'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants