-
Notifications
You must be signed in to change notification settings - Fork 656
Errors Ctypes #299
Comments
find util.py and add it to directory, make sure to put the following colab magic line in the first code box please post the colab link / tutorial you are following I will do my best to go through it and fix it... |
find the lines: and add: from ctypes import util from IPython.display import clear_output, display, Image, HTML the tutorial is super outdated, the model package containing the original .png texture and 3d .obj model are offline after testing around I kepped running into error I had difficulty finding a .obj to test on, the one I used was very large (80 mb+) that might have something to do with it. |
Thanks for the help but still does not work
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
…________________________________
From: joey tussin (Rib Addi) ***@***.***>
Sent: Tuesday, March 22, 2022 12:25:38 PM
To: tensorflow/lucid ***@***.***>
Cc: Ahenkona Pieter-Jan ***@***.***>; Author ***@***.***>
Subject: Re: [tensorflow/lucid] Errors Ctypes (Issue #299)
find the lines:
from IPython.display import clear_output, display, Image, HTML
from lucid.misc.gl.glcontext import create_opengl_context
import OpenGL.GL as gl
and add: from ctypes import util
so it looks like this:
from IPython.display import clear_output, display, Image, HTML
from ctypes import util
from lucid.misc.gl.glcontext import create_opengl_context
import OpenGL.GL as gl
the tutorial is super outdated, the model package containing the original .png texture and 3d .obj model are offline
and even the style texture jpeg from wikipedia is offline. you need to upload your own model (.obj), original texture(png/jpg) and your desired style texture (png/jpg)
after testing around I kepped running into error
[TypeError: '<' not supported between instances of 'numpy.ndarray' and 'str']
and this is above my comprehension I might have done somethign wrong (i always combined my codeboxxes)
I am very tired i will try again tomorrow, let me know if you get same error
—
Reply to this email directly, view it on GitHub<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftensorflow%2Flucid%2Fissues%2F299%23issuecomment-1075051246&data=04%7C01%7Cpieter-jan.ahenkona%40student.kdg.be%7Cd26fff7349344826588c08da0bf6b192%7Ced1fc57f8a9747e79de19302dfd786ae%7C0%7C0%7C637835451407432980%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6TZhR5kicDhWEAePpKBfZot3mJM6CFVod6l8Co5tCqs%3D&reserved=0>, or unsubscribe<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASWN643CB7WONA2IV7KZYBTVBGU3FANCNFSM5QTVEPUA&data=04%7C01%7Cpieter-jan.ahenkona%40student.kdg.be%7Cd26fff7349344826588c08da0bf6b192%7Ced1fc57f8a9747e79de19302dfd786ae%7C0%7C0%7C637835451407432980%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=VxWkK2SHEVzusvoyNLNPHxq6Kx5n6AcfKIGwMnvOpws%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
AttributeError: module 'ctypes' has no attribute 'util'
Also a lot of tenserflow errors
The text was updated successfully, but these errors were encountered: