Environment Configuration
The dependency libraries are as follows:
- NumPy (version > 1.16.0)
- tqdm (version ≥ 4.65.0)
- faiss-cpu (version = 1.10.0)
You can run the pip install command to install the library. The following is an example:
1 | pip install numpy tqdm faiss-cpu==1.10.0 |
Before running the training script, run the following command to set environment variables:
1 | source /usr/local/Ascend/ascend-toolkit/set_env.sh |
Parent topic: IVFSP Training Script