ERROR:[MD]:unexpected error. Not a valid index
problem phenomenon: a single card does not report an error, and the training process can be correctly executed. However, when switching to distributed training, an error in the diagram is reported. After troubleshooting, the cause of the error is found to be the wrong use of distributed sampling
the error reporting method is as follows:
the order of distributed sampling and random sampling needs to be changed. The correct way is to perform random sampling first and then distributed sampling
The correct modification is as follows:
distributed training can be performed correctly after modification
Read More:
- R: Data frame index error “unexpected token”
- [Solved] MindSpore Error: “RuntimeError: Unexpected error. Inconsistent batch..
- [Solved] OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
- [Solved] OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
- [Solved] MindSpore Error: Should not use Python in runtime
- [Solved] MindSpore Error: ValueError: Minimum inputs size 0 does not match…
- Error starting vue project these dependencies were not found:create in ./src/router/modules/md.js
- [Solved] MindSpore Error: ReduceMean in the Ascend environment does not support inputs of 8 or more dimensions
- [Solved] MindSpore Error: Data type conversion of ‘Parameter’ is not supporte
- [Solved] MindSpore Error: StridedSlice operator does not support input of uint8 data type on Ascend hardware
- [Solved] URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%3E.css’
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- [Solved] ERROR: ./depthai_sdk is not a valid editable requirement.
- Prometheus Error: “INVALID“ is not a valid start token [How to Solve]
- [Solved] MindSpore Error: “RuntimeError: Unable to data from Generator..”
- [Solved] MindSpore Error: For ‘MirrorPad‘, paddings must be a Tensor with *
- [Solved] MindSpore Error: “GeneratorDataset’s num_workers=8, this value is …”
- [Solved] Goland sdk Error: The selected directory is not a valid home for Go SDK
- [Solved] MindSpore Error: TypeError: For ‘TopK’, the type of ‘x’ should be…