This is the official source code of MAP.
The PyTorch version we use is torch 1.10.0+cu113, and the Optuna version we use is 3.6.1.
Please refer to the official website -- https://pytorch.org/get-started/locally/ and https://optuna.org/#installation for the detailed installation instructions.
The experiments are conducted on the machine with Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz, and NVIDIA A100 80GB PCIe and CUDA 12.2. The operating system is Ubuntu 18.04.6 with 216GB memory.
Run the following command to test MAP:
python3 main_node.py