You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/content/DragGAN_PTI/visualizer_drag_gradio.py", line 711, in
global_state = init_images(global_state)
File "/content/DragGAN_PTI/visualizer_drag_gradio.py", line 92, in init_images
add_watermark_np(np.array(init_image)))
File "/content/DragGAN_PTI/viz/renderer.py", line 53, in add_watermark_np
font = ImageFont.truetype('arial.ttf', round(25/512*image.size[0]))
File "/usr/local/lib/python3.10/dist-packages/PIL/ImageFont.py", line 1008, in truetype
return freetype(font)
File "/usr/local/lib/python3.10/dist-packages/PIL/ImageFont.py", line 1005, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "/usr/local/lib/python3.10/dist-packages/PIL/ImageFont.py", line 255, in init
self.font = core.getfont(
OSError: cannot open resource
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/content/DragGAN_PTI/visualizer_drag_gradio.py", line 711, in
global_state = init_images(global_state)
File "/content/DragGAN_PTI/visualizer_drag_gradio.py", line 92, in init_images
add_watermark_np(np.array(init_image)))
File "/content/DragGAN_PTI/viz/renderer.py", line 53, in add_watermark_np
font = ImageFont.truetype('arial.ttf', round(25/512*image.size[0]))
File "/usr/local/lib/python3.10/dist-packages/PIL/ImageFont.py", line 1008, in truetype
return freetype(font)
File "/usr/local/lib/python3.10/dist-packages/PIL/ImageFont.py", line 1005, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "/usr/local/lib/python3.10/dist-packages/PIL/ImageFont.py", line 255, in init
self.font = core.getfont(
OSError: cannot open resource
The text was updated successfully, but these errors were encountered: