### 请描述您的问题? / Please describe your question
代码:官网cv中的crnn
For more details, please refer to the FAQ at https://www.mindspore.cn/docs/en/master/faq/data_processing.html.
Traceback (most recent call last):
File "train.py", line 154, in <module>
train()
File "/data/rl_test_code/CRNN_rl/train0/src/model_utils/moxing_adapter.py", line 113, in wrapped_func
run_func(*args, **kwargs)
File "train.py", line 150, in train
dataset_sink_mode=config.device_target == 'Ascend')
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/train/model.py", line 1073, in train
initial_epoch=initial_epoch)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/train/model.py", line 114, in wrapper
func(self, *args, **kwargs)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/train/model.py", line 624, in _train
cb_params, sink_size, initial_epoch, valid_infos)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/train/model.py", line 708, in _train_dataset_sink_process
outputs = train_network(*inputs)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/nn/cell.py", line 680, in __call__
out = self.compile_and_run(*args, **kwargs)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/nn/cell.py", line 1020, in compile_and_run
self.compile(*args, **kwargs)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/nn/cell.py", line 998, in compile
jit_config_dict=self._jit_config_dict, *args, **kwargs)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/mindspore/common/api.py", line 1547, in compile
result = self._graph_executor.compile(obj, args, kwargs, phase, self._use_vm_mode())
RuntimeError: Compile graph kernel_graph_1 failed.
----------------------------------------------------
- Ascend Error Message:
----------------------------------------------------
EZ3002: Optype [CTCLoss] of Ops kernel [aicpu_ascend_kernel] is unsupported. Reason: data_type DT_FLOAT16 of input[0, inputs] is unsupported, op type[CTCLoss]..
Possible Cause: The operator type is unsupported in the operator information library due to specification mismatch.
Solution: Submit an issue to request for support at https://gitee.com/ascend, or remove this type of operators from your model.
TraceBack (most recent call last):
Optype [CTCLoss] of Ops kernel [aicpu_tf_kernel] is unsupported. Reason: data_type DT_FLOAT16 of input[0, inputs] is unsupported, op type[CTCLoss]..
No supported Ops kernel and engine are found for [Default/network-TrainOneStepCellWithGradClip/network-WithLossCell/_loss_fn-CTCLoss/CTCLoss-op755], optype [CTCLoss].
[Call][PreRun] Failed, graph_id:2, session_id:0.[FUNC:CompileGraph][FILE:graph_manager.cc][LINE:4116]
[Compile][Graph]Compile graph failed, error code:1343225857, session_id:0, graph_id:2.[FUNC:CompileGraph][FILE:ge_api.cc][LINE:1150]
(Please search "Ascend Error Message" at https://www.mindspore.cn for error code description)
----------------------------------------------------
- Ascend Warning Message:
----------------------------------------------------
W11001: Op [Default/network-TrainOneStepCellWithGradClip/network-WithLossCell/_loss_fn-CTCLoss/CTCLoss-op755] does not hit the high-priority operator information library, which might result in compromised performance.
----------------------------------------------------
- C++ Call Stack: (For framework developers)
----------------------------------------------------
mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_graph_executor.cc:827 CompileGraph