You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by op 'add_1', defined at:
File "D:\Anaconda3\envs\tf\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\Anaconda3\envs\tf\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "c:\Users\Think.vscode\extensions\ms-python.python-2020.5.80290\pythonFiles\lib\python\debugpy\no_wheels\debugpy_main.py", line 45, in
cli.main()
File "c:\Users\Think.vscode\extensions\ms-python.python-2020.5.80290\pythonFiles\lib\python\debugpy\no_wheels\debugpy/..\debugpy\server\cli.py", line 430, in main
run()
File "c:\Users\Think.vscode\extensions\ms-python.python-2020.5.80290\pythonFiles\lib\python\debugpy\no_wheels\debugpy/..\debugpy\server\cli.py", line 267, in run_file
runpy.run_path(options.target, run_name=compat.force_str("main"))
File "D:\Anaconda3\envs\tf\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "D:\Anaconda3\envs\tf\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "D:\Anaconda3\envs\tf\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "f:\Experiments\NERexperiments\zh-NER-TF-master\main.py", line 78, in
model.build_graph()
File "f:\Experiments\NERexperiments\zh-NER-TF-master\model.py", line 39, in build_graph
self.loss_op()
File "f:\Experiments\NERexperiments\zh-NER-TF-master\model.py", line 96, in loss_op
sequence_lengths=self.sequence_lengths)
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\contrib\crf\python\ops\crf.py", line 155, in crf_log_likelihood
transition_params)
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\contrib\crf\python\ops\crf.py", line 91, in crf_sequence_score
unary_scores = crf_unary_score(tag_indices, sequence_lengths, inputs)
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\contrib\crf\python\ops\crf.py", line 182, in crf_unary_score
flattened_tag_indices = array_ops.reshape(offsets + tag_indices, [-1])
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\python\ops\math_ops.py", line 821, in binary_op_wrapper
return func(x, y, name=name)
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\python\ops\gen_math_ops.py", line 73, in add
result = _op_def_lib.apply_op("Add", x=x, y=y, name=name)
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 768, in apply_op
op_def=op_def)
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\python\framework\ops.py", line 2336, in create_op
original_op=self._default_original_op, op_def=op_def)
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\python\framework\ops.py", line 1228, in init
self._traceback = _extract_stack()
when I am training my own dataset(english), a bug occurred
my dataset have 24 tags
The text was updated successfully, but these errors were encountered: