Feng Wang
commited on
Commit
·
6afa00d
1
Parent(s):
961f022
fix(setup): fix install
Browse files
README.md
CHANGED
@@ -42,7 +42,8 @@ Step1. Install YOLOX.
|
|
42 |
```shell
|
43 |
git clone [email protected]:Megvii-BaseDetection/YOLOX.git
|
44 |
cd yolox
|
45 |
-
pip3 install -U pip && pip3 install -
|
|
|
46 |
```
|
47 |
Step2. Install [apex](https://github.com/NVIDIA/apex).
|
48 |
|
|
|
42 |
```shell
|
43 |
git clone [email protected]:Megvii-BaseDetection/YOLOX.git
|
44 |
cd yolox
|
45 |
+
pip3 install -U pip && pip3 install -r requirements.txt
|
46 |
+
pip3 install -v -e . # or python3 setup.py develop
|
47 |
```
|
48 |
Step2. Install [apex](https://github.com/NVIDIA/apex).
|
49 |
|
setup.py
CHANGED
@@ -47,10 +47,6 @@ with open("yolox/__init__.py", "r") as f:
|
|
47 |
).group(1)
|
48 |
|
49 |
|
50 |
-
with open("requirements.txt", "r") as f:
|
51 |
-
reqs = [x.strip() for x in f.readlines()]
|
52 |
-
|
53 |
-
|
54 |
with open("README.md", "r") as f:
|
55 |
long_description = f.read()
|
56 |
|
@@ -63,7 +59,6 @@ setuptools.setup(
|
|
63 |
long_description=long_description,
|
64 |
ext_modules=get_extensions(),
|
65 |
classifiers=["Programming Language :: Python :: 3", "Operating System :: OS Independent"],
|
66 |
-
install_requires=reqs,
|
67 |
cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
|
68 |
packages=setuptools.find_packages(),
|
69 |
)
|
|
|
47 |
).group(1)
|
48 |
|
49 |
|
|
|
|
|
|
|
|
|
50 |
with open("README.md", "r") as f:
|
51 |
long_description = f.read()
|
52 |
|
|
|
59 |
long_description=long_description,
|
60 |
ext_modules=get_extensions(),
|
61 |
classifiers=["Programming Language :: Python :: 3", "Operating System :: OS Independent"],
|
|
|
62 |
cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
|
63 |
packages=setuptools.find_packages(),
|
64 |
)
|