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

qdarkstyle issue (No module named qdarkstyle) #26

Open
prmex900 opened this issue Aug 25, 2018 · 10 comments
Open

qdarkstyle issue (No module named qdarkstyle) #26

prmex900 opened this issue Aug 25, 2018 · 10 comments

Comments

@prmex900
Copy link

hi, i'm running this command after I have installed everything

iGAN2noui A$ THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64

and get this error. everything is installed as you described. i tried it on macos and ubuntu. same error.

Traceback (most recent call last):
  File "iGAN_main.py", line 4, in <module>
    import qdarkstyle
ImportError: No module named qdarkstyle
@junyanz
Copy link
Owner

junyanz commented Aug 27, 2018

You need to install it via sudo pip install qdarkstyle.

@prmex900
Copy link
Author

prmex900 commented Aug 27, 2018

You need to install it via sudo pip install qdarkstyle.

this is exactly what i did. but still nothing

@junyanz
Copy link
Owner

junyanz commented Aug 27, 2018

Very interesting. Are you using conda? For conda users, you can try this.

@prmex900
Copy link
Author

prmex900 commented Aug 27, 2018

i managed to make it with trying multiple times sudo pip install qdarkstyle

then i got problem with pyqt4

no module named pyqt4

solved with conda install pyqt=4 (only this one worked for me. macos)

then was

ModuleNotFoundError: No module named 'dominate'

solved with pip install dominate

then there is some other issues I will get back with later
still couldn't run it

@junyanz
Copy link
Owner

junyanz commented Aug 27, 2018

Please see the requirements

@prmex900
Copy link
Author

prmex900 commented Aug 27, 2018

yes I knew you will say that. It was installed right before I started.
I followed every step from requirements. that is why it is all so confusing

after i run THEANO_FLAGS='device=gpu0, floatX=float32, nvcc.fastmath=True' python iGAN_main.py --model_name outdoor_64

i get multiple lines like this

objc[2430]: Class QCocoaColorPanelDelegate is implemented in both /Users/USERNAME/miniconda2/lib/libQtGui.4.8.7.dylib (0x1027cfde0) and /Users/USERNAME/miniconda2/lib/python2.7/site-packages/cv2/.dylibs/QtGui (0x10a1f6d60). One of the two will be used. Which one is undefined.

and at the end

File "iGAN_main.py", line 9, in
import constrained_opt
File "/Users/USERNAME/iGAN/constrained_opt.py", line 3, in
from lib.rng import np_rng
File "/Users/USERNAME/iGAN/lib/rng.py", line 2, in
from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams
ImportError: No module named theano.sandbox.rng_mrg

@junyanz
Copy link
Owner

junyanz commented Sep 3, 2018

It seems to be related to Theano. Could you run other Theano example/test code? You may want to install this Theano version. The code was developed around 2016, and the Theano was gone now (not longer supported). Therefore, it is quite hard to compile the code. We are working on a PyTorch version, but it might take some time.

@prmex900
Copy link
Author

not really, theano gives me struggle=)

@flutterq
Copy link

@marvelous-dog
Copy link

pip install pyqtdarktheme

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

4 participants