shahrukhqasim / TIES-2.0

Code for: S.R. Qasim, H. Mahmood, and F. Shafait, Rethinking Table Recognition using Graph Neural Networks (2019)
MIT License
277 stars 69 forks source link

Problems with training: Tensorflow queue_runner #48

Open Vitorhgbds opened 3 years ago

Vitorhgbds commented 3 years ago

Hi!

So, i tried to run the training as read.me shows, installing the dependencies (pip install -r requirements.txt) and when I ran this command python .\python\bin\iterate\table_adjacency_parsing.py .\configs\config.ini basic_conv_graph the file table_adjacency_parsing.py showed me an error to import the iterators file table_adjacency_parsing_iterator.py. I solved this by placing the file table_adjacency_parsing.py at the root of the project.

Excellent! But when I ran the command again it showed me the following warnings WARNING:tensorflow: From table_adjacency_parsing_iterator.py:73: start_queue_runners (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version. Instructions for updating: To construct input pipelines, use the 'tf.data' module. WARNING:tensorflow:'tf.train.start_queue_runners()' was called when no queue runners were defined. You can safely remove the call to this deprecated function.

Ok, i need to update the tensorflow method, but where is the graph keys (to update the deprecated function) and why this is happening?

Specs