What Are the Possible Causes for Data Processing Errors?

Symptom

The following error occurs during data processing:

Solution

In MindSpore, the intermediate processing results must be NumPy arrays during data processing. You are advised not to use MindSpore network operators for data processing. Check whether there are operations of converting data into tensors and using MindSpore network operators in data processing. If such operations exist, use the equivalent operations in NumPy.