GithubHelp home page GithubHelp logo

Errors Ctypes about lucid HOT 4 OPEN

PIETERJANAHENKONA avatar PIETERJANAHENKONA commented on June 18, 2024
Errors Ctypes

from lucid.

Comments (4)

400lbhacker avatar 400lbhacker commented on June 18, 2024

find util.py and add it to directory, make sure to put the following colab magic line in the first code box
%tensorflow_version 1.x

please post the colab link / tutorial you are following I will do my best to go through it and fix it...
if you go to my github page I do have several fixxes for some tutorials
I am not affiliated with lucid/tensorflow as an original founder but I do make extensive repairs to try to keep this project alive I work on it out sheer personal devotion, I will do my best to fix it but no garuntees this framework is becoming quickly deprecated

from lucid.

PIETERJANAHENKONA avatar PIETERJANAHENKONA commented on June 18, 2024

from lucid.

400lbhacker avatar 400lbhacker commented on June 18, 2024

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

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.
erasing the line lead to a further error that "uv" was undeclared despite not having any refrence to it anyway... im not
100% sure thats an additional error on top of the original or if their directly related

from lucid.

PIETERJANAHENKONA avatar PIETERJANAHENKONA commented on June 18, 2024

from lucid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.