Comments (2)
Thanks, I faced the same situation on ubuntu 22.04 with CUDA 11.7, at the end, instead of PyQt error, I got a different error at the video rendering stage:
libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
WARNING: Error drawing visual <Mesh at 0x7f71339e0110>
Solved by exporting the library path:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 python main.py --config argument.yml
as mentioned in:
conda-forge/ctng-compilers-feedstock#95 (comment)
from 3d-photo-inpainting.
This problem is solved.
I didn't noticed that I've installed wrong version of CUDA while following the instruction in README.md
file.
Then I created new environment. And installed PyTorch with my CUDA version. The installation code can be found here:
For me, it was:
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
After that you may have to change the following line in main.py
as discussed in #191
config = yaml.safe_load(open(args.config, 'r'))
After that you may face another problem like following:
Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
It was solved by upgrading the numpy
module:
pip install -U numpy
At this point everything should work fine. However, some people have mentioned PyQt related error (#16).
The error message may look like the following:
WARNING: could not connect to display
WARNING: Could not load the Qt platform plugin "xcb" in "" even though it was found.
WARNING: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted
It was solved by installing mesa-utils-extra libegl1-mesa-dev libgles2-mesa-dev xvfb
and initializing a virtual display.
Terminal Command:
$ sudo apt update
$ sudo apt install mesa-utils-extra libegl1-mesa-dev libgles2-mesa-dev xvfb
$ Xvfb :0 -screen 0 1024x768x24 -ac +extension GLX +render -noreset &
$ export DISPLAY=:0
from 3d-photo-inpainting.
Related Issues (20)
- 3d
- Why the mesh result is blank?
- cugraph accelerate
- Please update the colab its no longer working. HOT 12
- ModuleNotFoundError: No module named 'vispy' HOT 3
- What is the function 'extrapolate' in mesh.py?
- 3dp
- lookAt configuration HOT 1
- Can this colab be fixed, or is there another way of doing 3D photo in painting HOT 2
- FileNotFoundError
- Video generation process stuck in 3D-photo-inpainting
- Alternative repo? HOT 5
- Hello, how can I make it faster and which parts can be optimized?
- How to produce a right eye photo? HOT 3
- Trying to install on windows without luck. Is it possible?
- any chance of an upgrade to support modern python (3.10.x)?
- 📣 Do not waste your time with this old repo; here is the working one! HOT 6
- Transformar 2d em 3d
- How to obtain quantitative evaluation metrics in the way of the paper?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3d-photo-inpainting.