AIGText / GlyphControl-release

[NeurIPS2023] This is the official code of the paper "GlyphControl: Glyph Conditional Control for Visual Text Generation"
MIT License
210 stars 15 forks source link

Having issues running inference or app.py #12

Open nisar2 opened 7 months ago

nisar2 commented 7 months ago

Hello, I followed the instructions to get the project up and running and was able to sucessfully create a conda env using the yaml file. However, when I try to run inference or app.py, I get the following error:

python app.py Traceback (most recent call last): File "/home/nisar2/projects/GlyphControl-release/app.py", line 10, in <module> from scripts.rendertext_tool import Render_Text, load_model_from_config, load_model_ckpt File "/home/nisar2/projects/GlyphControl-release/scripts/rendertext_tool.py", line 1, in <module> from cldm.ddim_hacked import DDIMSampler File "/home/nisar2/projects/GlyphControl-release/cldm/ddim_hacked.py", line 3, in <module> import torch File "/home/nisar2/anaconda3/envs/GlyphControl/lib/python3.9/site-packages/torch/__init__.py", line 202, in <module> from torch._C import * # noqa: F403 ImportError: /home/nisar2/anaconda3/envs/GlyphControl/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent

Would anyone know what is going on here?