Traceback (most recent call last):


 "D:/workspace/python_project/NER/package/rnn.py", line 168, in <module>

net = NER_net("ner", iterator, embedding, BATCH_SIZE)


 "D:/workspace/python_project/NER/package/rnn.py", line 28, in __init__

self._build_net()


 "D:/workspace/python_project/NER/package/rnn.py", line 68, in _build_net

self.outputs, self.y, self.seq_length)


 "D:\Python35\lib\site-packages\tensorflow\contrib\crf\python\ops\crf.py", line 201, in crf_log_likelihood

transition_params)


 "D:\Python35\lib\site-packages\tensorflow\contrib\crf\python\ops\crf.py", line 128, in crf_sequence_score

fn2=_multi_seq_fn)


 "D:\Python35\lib\site-packages\tensorflow\python\layers\utils.py", line 211, in smart_cond

return control_flow_ops.cond(pred, true_fn=fn1, false_fn=fn2, name=name)


 "D:\Python35\lib\site-packages\tensorflow\python\util\deprecation.py", line 316, in new_func

return func(*args, **kwargs)


 "D:\Python35\lib\site-packages\tensorflow\python\ops\control_flow_ops.py", line 1894, in cond

orig_res_t, res_t = context_t.BuildCondBranch(true_fn)


 "D:\Python35\lib\site-packages\tensorflow\python\ops\control_flow_ops.py", line 1752, in BuildCondBranch

original_result = fn()


 "D:\Python35\lib\site-packages\tensorflow\contrib\crf\python\ops\crf.py", line 114, in _single_seq_fn

array_ops.concat([example_inds, tag_indices], axis=1))


 "D:\Python35\lib\site-packages\tensorflow\python\ops\gen_array_ops.py", line 2567, in gather_nd

"GatherNd", params=params, indices=indices, name=name)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper

op_def=op_def)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 3162, in create_op

compute_device=compute_device)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 3208, in _create_op_helper

set_shapes_for_outputs(op)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 2427, in set_shapes_for_outputs

return _set_shapes_for_outputs(op)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 2400, in _set_shapes_for_outputs

shapes = shape_func(op)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 2330, in call_with_requiring

return call_cpp_shape_fn(op, require_shape_fn=True)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 627, in call_cpp_shape_fn

require_shape_fn)


 "D:\Python35\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 691, in _call_cpp_shape_fn_impl

raise ValueError(err.message)
ValueError: indices.shape[-1] must be <= params.rank, but saw indices shape: [?,11] and params shape: [1,16] for 'ner/cond/GatherNd' (op: 'GatherNd') with input shapes: [1,16], [?,11].

Traceback (most recent call last):


 "main.py", line 9, in <module>

bot.polling()


 "/usr/lib/python3.7/site-packages/telebot/__init__.py", line 389, in polling

self.__threaded_polling(none_stop, interval, timeout)


 "/usr/lib/python3.7/site-packages/telebot/__init__.py", line 412, in __threaded_polling

polling_thread.raise_exceptions()


 "/usr/lib/python3.7/site-packages/telebot/util.py", line 78, in raise_exceptions

six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])


 "/usr/lib/python3.7/site-packages/six.py", line 693, in reraise

raise value


 "/usr/lib/python3.7/site-packages/telebot/util.py", line 59, in run

task(*args, **kwargs)


 "/usr/lib/python3.7/site-packages/telebot/__init__.py", line 276, in __retrieve_updates

updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)


 "/usr/lib/python3.7/site-packages/telebot/__init__.py", line 246, in get_updates

json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)


 "/usr/lib/python3.7/site-packages/telebot/apihelper.py", line 180, in get_updates

return _make_request(token, method_url, params=payload)


 "/usr/lib/python3.7/site-packages/telebot/apihelper.py", line 54, in _make_request

timeout=(connect_timeout, read_timeout), proxies=proxy)


 "/usr/lib/python3.7/site-packages/requests/sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)


 "/usr/lib/python3.7/site-packages/requests/sessions.py", line 646, in send

r = adapter.send(request, **kwargs)


 "/usr/lib/python3.7/site-packages/requests/adapters.py", line 516, in send

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot843253220:AAGteG_EPJHZY7lL0DKF_gIe8w4MOzrJ2Og/getUpdates?offset=1&timeout=20 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff142c946a0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
