RameenAbdal / StyleFlow

StyleFlow: Attribute-conditioned Exploration of StyleGAN-generated Images using Conditional Continuous Normalizing Flows (ACM TOG 2021)
http://rameenabdal.github.io/StyleFlow
2.43k stars 344 forks source link

Could not load the Qt platform plugin #69

Closed GDrayn closed 3 years ago

GDrayn commented 3 years ago

After trying to run the python main.py command I get the following message: (I get this error while trying to use the windows 10 version of the software)

C:\Users\Gergő\AppData\Local\conda\conda\envs\styleflow\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
----------------- Options ---------------
                batchSize: 1
          checkpoints_dir: ./checkpoints
                 dataroot: ./data/datasetX
                  gpu_ids: 0
     max_result_snapshots: 30
                    model: xxxx
                     name: XXXX
              network_pkl: gdrive:networks/stylegan2-ffhq-config-f.pkl
            only_for_test: ...
                    phase: test
----------------- End -------------------
qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, windows.

I'm at a complete loss here as I'm not familiar with python and it's inner workings.

zhywanna commented 2 years ago

Same. Did you solve this problem?

GDrayn commented 2 years ago

I spent the rest of that day on it to no avail, so I just gave up, sadly I couldn't figure it out.