Comments (4)
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.
from lucid.
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.
from lucid.
Related Issues (20)
- new style transfer error (just recently started happening) HOT 5
- How to visualize CLIP neurons using Lucid? HOT 2
- Transforms HOT 1
- Bug: AttributeError: module 'ctypes' has no attribute 'util' in glcontext.py, Line 58 HOT 1
- README image link is broken HOT 1
- ValueError: high is out of bounds for int32
- Blas GEMM launch failed HOT 1
- save show(VIS) to .jpeg HOT 1
- cover image missing HOT 1
- Dead link to Images
- 2d neural style transfer is completely broken
- I created a facebook group for Lucid
- I fixxed style transfer and deepdream notebooks
- refixxed 2d neural transfer again.
- tutorial.ipynb is incompatible with Python 3 HOT 1
- I have fixxed feature attribution (100% fully working)
- Magic %tensorflow_version 1.x not supported in colab HOT 2
- Lucid library maintenance
- Columns and DataType Not Explicitly Set on line 83 of grid.py
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 lucid.