Skip to content

Unable to train model #6

@samimideksa

Description

@samimideksa

@shashanktyagi I am facing this issue when I try to train your model and I couldn't figure out what is wrong. Can you help me with this?
(allinone) samuel@samuel:~/projects/HyperFace-TensorFlow-implementation$ python main.py /home/samuel/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from floattonp.floatingis deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters 2018-09-03 11:41:17.653808: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA Building Graph... Graph Built! Restoring Model Traceback (most recent call last): File "main.py", line 27, in <module> net.train() File "/home/samuel/projects/HyperFace-TensorFlow-implementation/model.py", line 142, in train coord.join(threads) File "/home/samuel/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/coordinator.py", line 389, in join six.reraise(*self._exc_info_to_raise) File "/home/samuel/anaconda3/lib/python3.6/site-packages/six.py", line 693, in reraise raise value File "/home/samuel/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/queue_runner_impl.py", line 252, in _run enqueue_callable() File "/home/samuel/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1205, in _single_operation_run self._call_tf_sessionrun(None, {}, [], target_list, None) File "/home/samuel/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _call_tf_sessionrun run_metadata) tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value input_producer/limit_epochs/epochs [[Node: input_producer/limit_epochs/CountUpTo = CountUpTo[T=DT_INT64, limit=10, _device="/job:localhost/replica:0/task:0/device:CPU:0"](input_producer/limit_epochs/epochs)]] (allinone) samuel@samuel:~/projects/HyperFace-TensorFlow-implementation$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions