Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
b1949215
Unverified
Commit
b1949215
authored
Dec 28, 2020
by
Kai Chen
Committed by
GitHub
Dec 28, 2020
Browse files
remove the lagacy pip installation (#765)
parent
c1acedcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
62 deletions
+6
-62
README.md
README.md
+6
-62
No files found.
README.md
View file @
b1949215
...
@@ -52,84 +52,28 @@ Before installing mmcv-full, make sure that PyTorch has been successfully instal
...
@@ -52,84 +52,28 @@ Before installing mmcv-full, make sure that PyTorch has been successfully instal
We provide pre-built mmcv packages (recommended) with different PyTorch and CUDA versions to simplify the building.
We provide pre-built mmcv packages (recommended) with different PyTorch and CUDA versions to simplify the building.
**For pip < 20.3, please refer to the following table:**
i. Install the latest version.
<table
class=
"docutils"
>
<tbody>
<tr>
<th
width=
"80"
>
CUDA
</th>
<th
valign=
"bottom"
align=
"left"
width=
"100"
>
torch 1.7
</th>
<th
valign=
"bottom"
align=
"left"
width=
"100"
>
torch 1.6
</th>
<th
valign=
"bottom"
align=
"left"
width=
"100"
>
torch 1.5
</th>
<th
valign=
"bottom"
align=
"left"
width=
"100"
>
torch 1.4
</th>
<th
valign=
"bottom"
align=
"left"
width=
"100"
>
torch 1.3
</th>
</tr>
<tr>
<td
align=
"left"
>
11.0
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.7.0+cu110 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
>
</td>
<td
align=
"left"
>
</td>
<td
align=
"left"
>
</td>
<td
align=
"left"
>
</td>
</tr>
<tr>
<td
align=
"left"
>
10.2
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.7.0+cu102 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.6.0+cu102 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.5.0+cu102 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
>
</td>
<td
align=
"left"
>
</td>
</tr>
<tr>
<td
align=
"left"
>
10.1
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.7.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.6.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.5.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.4.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.3.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
</tr>
<tr>
<td
align=
"left"
>
9.2
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.7.0+cu92 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.6.0+cu92 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.5.0+cu92 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.4.0+cu92 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.3.0+cu92 -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
</tr>
<tr>
<td
align=
"left"
>
cpu
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.7.0+cpu -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.6.0+cpu -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.5.0+cpu -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.4.0+cpu -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
<td
align=
"left"
><details><summary>
install
</summary><pre><code>
pip install mmcv-full==latest+torch1.3.0+cpu -f https://download.openmmlab.com/mmcv/dist/index.html
</code></pre>
</details>
</td>
</tr>
</tbody>
</table>
**For pip >= 20.3, please refer to the following table:**
a. Install the latest version.
The rule for installing the latest
``mmcv-full``
is as follows:
The rule for installing the latest
``mmcv-full``
is as follows:
```
```
shell
pip
install
mmcv-full
-f
https://download.openmmlab.com/mmcv/dist/
{
cu_version
}
/
{
torch_version
}
/index.html
pip
install
mmcv-full
-f
https://download.openmmlab.com/mmcv/dist/
{
cu_version
}
/
{
torch_version
}
/index.html
```
```
Please replace
``{cu_version}``
and
``{torch_version}``
in the url to your desired one. For example,
Please replace
``{cu_version}``
and
``{torch_version}``
in the url to your desired one. For example,
to install the latest
``mmcv-full``
with
``CUDA 11``
and
``PyTorch 1.7.0``
, use the following command:
to install the latest
``mmcv-full``
with
``CUDA 11``
and
``PyTorch 1.7.0``
, use the following command:
```
```
shell
pip
install
mmcv-full
-f
https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html
pip
install
mmcv-full
-f
https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html
```
```
For more details, please refer the the following tables and delete
``=={mmcv_version}``
.
For more details, please refer the the following tables and delete
``=={mmcv_version}``
.
b
. Install a specified version.
ii
. Install a specified version.
The rule for installing a specified
``mmcv-full``
is as follows:
The rule for installing a specified
``mmcv-full``
is as follows:
```
```
shell
pip
install
mmcv-full
=={
mmcv_version
}
-f
https://download.openmmlab.com/mmcv/dist/
{
cu_version
}
/
{
torch_version
}
/index.html
pip
install
mmcv-full
=={
mmcv_version
}
-f
https://download.openmmlab.com/mmcv/dist/
{
cu_version
}
/
{
torch_version
}
/index.html
```
```
...
@@ -137,7 +81,7 @@ First of all, please refer to the Releases and replace ``{mmcv_version}`` a spec
...
@@ -137,7 +81,7 @@ First of all, please refer to the Releases and replace ``{mmcv_version}`` a spec
Then replace
``{cu_version}``
and
``{torch_version}``
in the url to your desired versions. For example,
Then replace
``{cu_version}``
and
``{torch_version}``
in the url to your desired versions. For example,
to install
``mmcv-full==1.2.2``
with
``CUDA 11``
and
``PyTorch 1.7.0``
, use the following command:
to install
``mmcv-full==1.2.2``
with
``CUDA 11``
and
``PyTorch 1.7.0``
, use the following command:
```
```
shell
pip
install
mmcv-full
==
1.2.2
-f
https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html
pip
install
mmcv-full
==
1.2.2
-f
https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment