执行命令:(Linux与Windows均适用)
$ git clone https://github.com/NVIDIA/apex $ cd apex $ pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
详情:https://github.com/NVIDIA/apex
执行命令:(Linux与Windows均适用)
$ git clone https://github.com/NVIDIA/apex $ cd apex $ pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
详情:https://github.com/NVIDIA/apex