pavelgonchar / colornet

Neural Network to colorize grayscale images
3.56k stars 324 forks source link

fix tensorflow.python.framework.errors.FailedPreconditionError #9

Open dneprDroid opened 7 years ago

dneprDroid commented 7 years ago

fixed error (TensorFlow 0.12.0, OS X El Capitan, python 2.7) :

tensorflow.python.framework.errors.FailedPreconditionError: Attempting to use uninitialized value input_producer/limit_epochs/epochs [[Node: input_producer/limit_epochs/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@input_producer/limit_epochs/epochs"], limit=1000000000, _device="/job:localhost/replica:0/task:0/cpu:0"]]

FailedPreconditionError (see above for traceback): Attempting to use uninitialized value input_producer/limit_epochs/epochs [[Node: input_producer/limit_epochs/CountUpTo = CountUpToT=DT_INT64, _class=["loc:@input_producer/limit_epochs/epochs"], limit=1000000000, _device="/job:localhost/replica:0/task:0/cpu:0"]]