The variables `DATA_PATH` and `RANK_SIZE` need to be transferred to the script, which indicate the path of the dataset and the number of devices, respectively.
The necessary environment variables are as follows:
-`MINDSPORE_HCCL_CONFIG_PATH`: path for storing the networking information file.
-`RANK_TABLE_FILE`: path for storing the networking information file.
-`DEVICE_ID`: actual sequence number of the current device on the corresponding host.
-`RANK_ID`: logical sequence number of the current device.
For details about other environment variables, see configuration items in the installation guide.