Traceback (most recent call last):



 "<ipython-input-3-c5bc20394d90>", line 1, in <module>

runfile('D:/coding/jupyter workplace/tf_ner-master/models/lstm_crf/main.py', wdir='D:/coding/jupyter workplace/tf_ner-master/models/lstm_crf')



 "D:\ComputerSoftwares\Anaconda\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile

execfile(filename, namespace)



 "D:\ComputerSoftwares\Anaconda\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile

exec(compile(f.read(), filename, 'exec'), namespace)



 "D:/coding/jupyter workplace/tf_ner-master/models/lstm_crf/main.py", line 173, in <module>

estimator, 'f1', 500, min_steps=8000, run_every_secs=120)



 "D:\ComputerSoftwares\Anaconda\lib\site-packages\tensorflow_estimator\contrib\estimator\python\estimator\early_stopping.py", line 266, in stop_if_no_increase_hook

run_every_steps=run_every_steps)



 "D:\ComputerSoftwares\Anaconda\lib\site-packages\tensorflow_estimator\contrib\estimator\python\estimator\early_stopping.py", line 422, in _stop_if_no_metric_improvement_hook

run_every_steps=run_every_steps)



 "D:\ComputerSoftwares\Anaconda\lib\site-packages\tensorflow_estimator\contrib\estimator\python\estimator\early_stopping.py", line 88, in make_early_stopping_hook

'Got: {}'.format(type(estimator)))

TypeError: `estimator` must have type `tf.estimator.Estimator`. Got: <class 'tensorflow.python.estimator.estimator.Estimator'>
Traceback (most recent call last):


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/main.py", line 40, in main

ret = cmd.run_cmd()


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/command/base.py", line 63, in run_cmd

return self.run()


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/command/repro.py", line 42, in run

recursive=self.args.recursive,


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/repo/scm_context.py", line 4, in run

result = method(repo, *args, **kw)


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/repo/reproduce.py", line 80, in reproduce

stages = _reproduce(self, target, **kwargs)


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/repo/reproduce.py", line 96, in _reproduce

ret = _reproduce_stage(stages, node, **kwargs)


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/repo/reproduce.py", line 22, in _reproduce_stage

stage = stage.reproduce(**kwargs)


 "/Users/prihodad/anaconda3/lib/python3.6/site-packages/dvc/stage.py", line 331, in reproduce

self.run(**kwargs)
TypeError: run() got an unexpected keyword argument 'ignore_build_cache'
