diff --git a/README.md b/README.md index 18d9d4040..33cfc551a 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,9 @@ Step1. Install YOLOX from source. ```shell git clone git@github.com:Megvii-BaseDetection/YOLOX.git cd YOLOX -pip3 install -v -e . # or python3 setup.py develop +pip3 install -U pip setuptools +pip3 install torch torchvision torchaudio +pip3 install --no-build-isolation -v -e . # or python3 setup.py develop ``` diff --git a/docs/quick_run.md b/docs/quick_run.md index f00bb995b..cb4df28b5 100644 --- a/docs/quick_run.md +++ b/docs/quick_run.md @@ -7,8 +7,9 @@ Step1. Install YOLOX. ```shell git clone git@github.com:Megvii-BaseDetection/YOLOX.git cd YOLOX -pip3 install -U pip && pip3 install -r requirements.txt -pip3 install -v -e . # or python3 setup.py develop +pip3 install -U pip setuptools +pip3 install torch torchvision torchaudio +pip3 install --no-build-isolation -v -e . # or python3 setup.py develop ``` Step2. Install [pycocotools](https://github.com/cocodataset/cocoapi). diff --git a/requirements.txt b/requirements.txt index 80f6d1755..df35106cd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,4 +15,4 @@ tensorboard # pycocotools corresponds to https://github.com/ppwwyyxx/cocoapi pycocotools>=2.0.2 onnx>=1.13.0 -onnx-simplifier==0.4.10 +onnxsim==0.4.13