sarahmfrost / manumorph Goto Github PK
View Code? Open in Web Editor NEWA Tensorflow implementation of Deep Painterly Harmonization
A Tensorflow implementation of Deep Painterly Harmonization
I am attempting to run this on Google Colab, but I am encountering a failed precondition error
(0) Failed precondition: Attempting to use uninitialized value Variable
[[node Variable/read (defined at /tensorflow-1.15.2/python3.7/tensorflow_core/python/framework/ops.py:1748) ]]
[[Add_5/_157]]
(1) Failed precondition: Attempting to use uninitialized value Variable
[[node Variable/read (defined at /tensorflow-1.15.2/python3.7/tensorflow_core/python/framework/ops.py:1748) ]]
0 successful operations.
0 derived errors ignored.
Can anyone help me resolve this?
First of all, thanks for sharing the code with the public.
Running python main.py returns the following error:
ImportError: cannot import name 'imsave'
Could you use pip freeze to see which versions of the packages are being utilized?
Does anybody know which version of tensorflow scipy and numpy is it tested on?
when I run python main.py
, the errors ocrrues:
cuda 10.0
tensorflow 1.13.1
Pass 1
2019-10-16 06:30:50.584160: I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
return fn(*args)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value Variable
[[{{node Variable/read}}]]
[[{{node Add_5}}]]
Please help me with the following error:
image = np.reshape(image, (1, image.shape[0], image.shape[1], image.shape[2]))
IndexError: tuple index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.