Skip to content

Commit

Permalink
Update requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
byx020119 committed Apr 29, 2024
1 parent b6c1a4c commit 2acfa19
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 76 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,33 @@
# Create a new conda environment and install torch
conda create -n bev python=3.8 -y
conda activate mmdet3d
pip install torch==1.10.0+cu113 torchvision==0.11.0+cu113 torchaudio==0.10.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html

# Install gcc-6
conda install -c omgarcia gcc-6 # gcc-6.2

# It will be a long time when install mmcv-full
pip install --no-cache-dir mmcv-full==1.4.0 mmdet==2.14.0 mmsegmentation==0.14.1
pip install --no-cache-dir mmcv-full==1.6.0 mmdet==2.28.2 mmsegmentation==0.30.0

# Install mmdetection3d
git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v0.17.1
git checkout v1.0.0rc6
pip install -v -e .

# Install other requirements
pip install open3d
```
PS: 确保安装的torch与cuda版本与mmcv与mmdet版本对应,否则会出现错误。
PS: 确保安装的torch与cuda版本与mmcv与mmdet版本尽量对应,否则会出现错误。

nvcc:
```
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Mon_May__3_19:15:13_PDT_2021
Cuda compilation tools, release 11.3, V11.3.109
Build cuda_11.3.r11.3/compiler.29920130_0
```

## 2. Start
文件组织如下:
Expand Down
90 changes: 18 additions & 72 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
absl-py==2.1.0
addict==2.4.0
anyio==4.3.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==2.4.1
async-lru==2.0.4
attrs==23.2.0
Babel==2.14.0
backcall==0.2.0
beautifulsoup4==4.12.3
black==24.3.0
bleach==6.1.0
blinker==1.7.0
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
comm==0.2.2
Expand All @@ -26,9 +17,7 @@ dash==2.16.1
dash-core-components==2.0.0
dash-html-components==2.0.0
dash-table==5.0.0
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
descartes==1.1.0
exceptiongroup==1.2.0
executing==2.0.1
Expand All @@ -37,73 +26,49 @@ fire==0.6.0
flake8==5.0.4
Flask==3.0.3
fonttools==4.51.0
fqdn==1.5.1
google-auth==2.29.0
google-auth-oauthlib==1.0.0
grpcio==1.62.1
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.6
idna==3.7
imageio==2.34.0
importlib_metadata==7.1.0
importlib_resources==6.4.0
iniconfig==2.0.0
ipykernel==6.29.4
ipython==8.12.3
ipywidgets==8.1.2
isoduration==20.11.0
itsdangerous==2.1.2
jedi==0.19.1
Jinja2==3.1.3
joblib==1.4.0
json5==0.9.24
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-events==0.10.0
jupyter-lsp==2.2.4
jupyter_client==8.6.1
jupyter_core==5.7.2
jupyter_server==2.13.0
jupyter_server_terminals==0.5.3
jupyterlab==4.1.6
jupyterlab_pygments==0.3.0
jupyterlab_server==2.26.0
jupyterlab_widgets==3.0.10
kiwisolver==1.4.5
llvmlite==0.31.0
llvmlite==0.36.0
lyft-dataset-sdk==0.0.8
Markdown==3.6
MarkupSafe==2.1.5
matplotlib==3.5.2
matplotlib==3.5.3
matplotlib-inline==0.1.6
mccabe==0.7.0
mistune==3.0.2
mmcv-full==1.4.0
mmdet==2.14.0
-e git+https://github.com/open-mmlab/mmdetection3d.git@f1107977dfd26155fc1f83779ee6535d2468f449#egg=mmdet3d
mmsegmentation==0.14.1
mmcls==0.25.0
mmcv-full==1.6.0
mmdet==2.28.2
-e git+https://github.com/open-mmlab/mmdetection3d.git@47285b3f1e9dba358e98fcd12e523cfd0769c876#egg=mmdet3d
mmsegmentation==0.30.0
mypy-extensions==1.0.0
nbclient==0.10.0
nbconvert==7.16.3
nbformat==5.10.4
nest-asyncio==1.6.0
networkx==2.2
notebook==7.1.2
notebook_shim==0.2.4
numba==0.48.0
numpy==1.19.5
nuscenes-devkit==1.1.10
numba==0.53.0
numpy==1.23.4
nuscenes-devkit==1.1.11
oauthlib==3.2.2
open3d==0.18.0
opencv-python==4.9.0.80
overrides==7.7.0
packaging==24.0
pandas==1.4.4
pandocfilters==1.5.1
pandas==2.0.3
parso==0.8.4
pathspec==0.12.1
pexpect==4.9.0
Expand All @@ -115,73 +80,54 @@ plotly==5.20.0
pluggy==1.4.0
plyfile==1.0.3
prettytable==3.10.0
prometheus_client==0.20.0
prompt-toolkit==3.0.43
protobuf==5.26.1
psutil==5.9.8
ptyprocess==0.7.0
pure-eval==0.2.2
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycocotools==2.0.7
pycodestyle==2.9.1
pycparser==2.22
pyflakes==2.5.0
Pygments==2.17.2
pyparsing==3.1.2
pyquaternion==0.9.9
pytest==8.1.1
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
pytz==2024.1
PyWavelets==1.4.1
PyYAML==6.0.1
pyzmq==25.1.2
qtconsole==5.5.1
QtPy==2.4.1
referencing==0.34.0
requests==2.31.0
requests-oauthlib==2.0.0
retrying==1.3.4
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.18.0
rsa==4.9
scikit-image==0.19.3
scikit-learn==1.3.2
scipy==1.10.1
Send2Trash==1.8.3
Shapely==1.8.5
Shapely==1.8.5.post1
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
stack-data==0.6.3
tenacity==8.2.3
tensorboard==2.14.0
tensorboard-data-server==0.7.2
termcolor==2.4.0
terminado==0.18.1
terminaltables==3.1.10
threadpoolctl==3.4.0
tifffile==2023.7.10
tinycss2==1.2.1
tomli==2.0.1
torch==1.10.0+cu113
torchaudio==0.10.0+rocm4.1
torchvision==0.11.0+cu113
tornado==6.4
torch==1.9.0+cu111
torchaudio==0.9.0
torchvision==0.10.0+cu111
tqdm==4.66.2
traitlets==5.14.2
trimesh==2.35.39
types-python-dateutil==2.9.0.20240316
typing_extensions==4.11.0
uri-template==1.3.0
tzdata==2024.1
urllib3==2.2.1
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.7.0
Werkzeug==3.0.2
widgetsnbextension==4.0.10
yapf==0.40.2
yapf==0.40.1
zipp==3.18.1

0 comments on commit 2acfa19

Please sign in to comment.