Traceback (most recent call last):


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/threading.py", line 932, in _bootstrap_inner

self.run()


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/threading.py", line 870, in run

self._target(*self._args, **self._kwargs)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/site-packages/IPython/terminal/debugger.py", line 122, in in_thread

line = self.pt_app.prompt()


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/site-packages/prompt_toolkit/shortcuts/prompt.py", line 1013, in prompt

return self.app.run(set_exception_handler=set_exception_handler)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 813, in run

loop = new_event_loop()


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/asyncio/events.py", line 758, in new_event_loop

return get_event_loop_policy().new_event_loop()


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/asyncio/events.py", line 656, in new_event_loop

return self._loop_factory()


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/asyncio/unix_events.py", line 54, in __init__

super().__init__(selector)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/asyncio/selector_events.py", line 59, in __init__

logger.debug('Using selector: %s', selector.__class__.__name__)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1422, in debug

self._log(DEBUG, msg, args, **kwargs)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1577, in _log

self.handle(record)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1587, in handle

self.callHandlers(record)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1649, in callHandlers

hdlr.handle(record)


 "/data/gholl/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 950, in handle

self.emit(record)


 "/home/gholl/checkouts/2019_iafe/devel_code/mwe/mwe108.py", line 6, in emit

raise RuntimeError("nooo")
RuntimeError: nooo

Traceback (most recent call last):


 "../run_classifier_ner.py", line 1124, in <module>

tf.app.run()


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run

_sys.exit(main(argv))


 "../run_classifier_ner.py", line 1035, in main

tf.estimator.train_and_evaluate(estimator, train_spec, eval_spec)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/training.py", line 471, in train_and_evaluate

return executor.run()


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/training.py", line 611, in run

return self.run_local()


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/training.py", line 712, in run_local

saving_listeners=saving_listeners)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 2457, in train

rendezvous.raise_errors()


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/error_handling.py", line 128, in raise_errors

six.reraise(typ, value, traceback)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/six.py", line 696, in reraise

raise value


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 2452, in train

saving_listeners=saving_listeners)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 358, in train

loss = self._train_model(input_fn, hooks, saving_listeners)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1124, in _train_model

return self._train_model_default(input_fn, hooks, saving_listeners)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1154, in _train_model_default

features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 2251, in _call_model_fn

config)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1112, in _call_model_fn

model_fn_results = self._model_fn(features=features, **kwargs)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 2534, in _model_fn

features, labels, is_export_mode=is_export_mode)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 1323, in call_without_tpu

return self._call_model_fn(features, labels, is_export_mode=is_export_mode)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py", line 1593, in _call_model_fn

estimator_spec = self._model_fn(features=features, **kwargs)


 "../run_classifier_ner.py", line 705, in model_fn

) = modeling.get_assignment_map_from_checkpoint(tvars, init_checkpoint)


 "/home/wgpu/deep/Pretrained-Language-Model/NEZHA/modeling.py", line 336, in get_assignment_map_from_checkpoint

init_vars = tf.train.list_variables(init_checkpoint)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/python/training/checkpoint_utils.py", line 95, in list_variables

reader = load_checkpoint(ckpt_dir_or_file)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/python/training/checkpoint_utils.py", line 64, in load_checkpoint

return pywrap_tensorflow.NewCheckpointReader(filename)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 326, in NewCheckpointReader

return CheckpointReader(compat.as_bytes(filepattern), status)


 "/home/wgpu/.conda/envs/tensorflow-gpu2/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in __exit__

c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ../nezha/model.ckpt
