tedchao / ColorfulCurves

Public code release for: ColorfulCurves: Palette-Aware Lightness Control and Color Editing via Sparse Optimization (SIGGRAPH 2023) [Ted Chao, Jason Klein, Jianchao Tan, Jose Echevarria, Yotam Gingold]
Creative Commons Attribution 4.0 International
49 stars 4 forks source link

qt plugin error in GUI.py #1

Open YacratesWyh opened 1 year ago

YacratesWyh commented 1 year ago

I tried twice from scratch of the GUI.py provided, but I haven't seen this error before, and no idea what's the reason. The Qt platform seems can't be initialized, even though I finished to compile cython.


No PyTorch with Metal backend found. Try one of: conda install pytorch torchvision torchaudio -c pytorch-nightly pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu [<pyopencl.Device 'NVIDIA GeForce RTX 3090' on 'NVIDIA CUDA' at 0x5628d2175d50>] Using OpenCL lab2rgb qt.qpa.plugin: Could not load the Qt platform plugin "xcb" 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: vnc, minimal, vkkhrdisplay, eglfs, wayland-egl, linuxfb, wayland, offscreen, minimalegl, xcb.

Aborted (core dumped)


QT_QPA_PLATFORM=offscreen and install pip install opencv-python-headless found on https://github.com/NVlabs/instant-ngp/discussions/300 doesn't work for me

YacratesWyh commented 1 year ago

Found this works: for pyqt6 in ubuntu 20.04, following spell in forum linked above, solved the problem for me sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev Author: harish Oct 21, 2021

YacratesWyh commented 11 months ago

anyway to use it on a server? I am not familar with qt

tedchao commented 11 months ago

Hi,

Sorry, we do not have a server version right now. Do you have specific problems you ran into when following the install instructions?

Ted