Comments (3)
This seems to be an issue with pickle binaries between Python 2 and Python 3.
See a potential fix here: https://stackoverflow.com/a/41366785, adding 'encoding='latin1' to the pickle.load line referenced above.
From:
values = pickle.load(open(weights_filename))['param values']
To:
values = pickle.load(open(weights_filename,'rb'),encoding='latin1')['param values']
from large_neural_style.
Relates to: #1
from large_neural_style.
After fixing the issues in #1 AND #2 this is working. Thank you for the assistance! Running it on Ubuntu 20.4 (AMD 3700x, 32GB RAM, NVIDA 1080 FTW2 GPU)
(though it seems to only be using CPU--I'll open that issue after I test to make sure, possible I'm missing the environment variable for cuda for theano or something like that). I'm new to this and don't know Python yet, so it's been an uphill battle--but very rewarding. And once I get the GPU rendering instead of the CPU I'll be really geeked up!
from large_neural_style.
Related Issues (4)
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 large_neural_style.