- Operating System: Windows 10/11 64-bit
- Python: 3.11.9
- GPU: NVIDIA GPU with CUDA 12.1+
- VS Code
All commands below assume execution in the PowerShell terminal.
Download and install from: https://code.visualstudio.com/download
Download installer: https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe
Verify installation:
python --version
# Expected: Python 3.11.9Download: https://www.nvidia.com/en-us/drivers/
- Choose Game Studio Driver
- Verify installation:
nvidia-smiDownload: https://developer.nvidia.com/cuda-12-1-1-download-archive
Verify installation:
nvcc --versiongit clone https://github.com/shuheitnk/mmmo-algorithm-selection.git
cd mmmo-algorithm-selectionpy -3.11 -m venv .venv
.\.venv\Scripts\activate
python --version # should show 3.11.9If you encounter a PSSecurityException (Execution Policy Restriction), enable script execution for your user only:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSignedUpgrade pip:
python -m pip install --upgrade pipInstall PyTorch with CUDA support:
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121Verify:
python -c "import torch; print(torch.__version__); print(torch.cuda.is_available()); print(torch.cuda.get_device_name(0))"Install the remaining requirements:
pip install -r requirements.txtClone the required repositories:
git clone https://github.com/BIMK/PlatEMO.git
git clone https://github.com/Wenhua-Li/ComparativeStudyofMMOP.gitThis project depends on the following MATLAB toolbox for using PlatEMO:
- Statistics and Machine Learning Toolbox