(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker login --username=利维_阿克曼 registry.cn-shenzhen.aliyuncs.com
[sudo] xutengfei 的密码:
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker tag [ImageId]^Cegistry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
python_cv add-detectron2 c789099bd250 5 hours ago 2.96GB
<none> <none> 1abba0409798 20 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker tag^Cegistry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ ^Cdo docker tag registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker tag^Cegistry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:^C
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker tag ^Cegistry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker build -t registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.0 .
Sending build context to Docker daemon 573.9MB
Step 1/4 : FROM python_cv:add-detectron2
---> c789099bd250
Step 2/4 : ADD . /
---> 81f70b1da367
Step 3/4 : WORKDIR /
---> Running in fcf24ed258bd
Removing intermediate container fcf24ed258bd
---> 00f44a8ddbce
Step 4/4 : CMD ["sh", "run.sh"]
---> Running in 21d7bd9ba74a
Removing intermediate container 21d7bd9ba74a
---> f44389ec5e09
Successfully built f44389ec5e09
Successfully tagged registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.0
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 45 seconds ago 3.53GB
python_cv add-detectron2 c789099bd250 6 hours ago 2.96GB
<none> <none> 1abba0409798 20 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker push registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.0
[sudo] xutengfei 的密码:
The push refers to repository [registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai]
b573502790ff: Pushed
4ca1959f254d: Pushed
0236dd92a81f: Pushed
7df99d8c2ab3: Pushed
ac9092d7b19b: Pushed
9f5b4cdea532: Pushed
cd702377e4e5: Pushed
aa7af8a465c6: Pushed
ef9a7b8862f4: Pushed
a1f2f42922b1: Pushed
4762552ad7d8: Pushed
1.0: digest: sha256:422caf65154a2aff58d51b03c645a41dab0b403168ed780e896789ef0cc17866 size: 2643
今晚1.2版本提交报错我的nvidia版本太老,实则是和官方对不上号。
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker login --username=利维_阿克曼 registry.cn-shenzhen.aliyuncs.com
[sudo] xutengfei 的密码:
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker build -t registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.1
"docker build" requires exactly 1 argument.
See 'docker build --help'.
Usage: docker build [OPTIONS] PATH | URL | -
Build an image from a Dockerfile
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker build -t registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.1 .
Sending build context to Docker daemon 573.9MB
Step 1/4 : FROM python_cv:add-detectron2
---> 5f0eb96d4de5
Step 2/4 : ADD . /
---> 45224330c7d0
Step 3/4 : WORKDIR /
---> Running in 195642db2da7
Removing intermediate container 195642db2da7
---> 50f6cd2a482d
Step 4/4 : CMD ["sh", "run.sh"]
---> Running in dc50736a7117
Removing intermediate container dc50736a7117
---> 19e2a939983f
Successfully built 19e2a939983f
Successfully tagged registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.1
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker push registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.1
The push refers to repository [registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai]
b573502790ff: Layer already exists
bbde711bfc1d: Pushed
0236dd92a81f: Layer already exists
7df99d8c2ab3: Layer already exists
ac9092d7b19b: Layer already exists
9f5b4cdea532: Layer already exists
cd702377e4e5: Layer already exists
aa7af8a465c6: Layer already exists
ef9a7b8862f4: Layer already exists
a1f2f42922b1: Layer already exists
4762552ad7d8: Layer already exists
Head https://registry.cn-shenzhen.aliyuncs.com/v2/xutengfei123/hand_for_reshensai/blobs/sha256:19e2a939983f8a0b6fa24fe8463d4b5228dbf9a725a0f5eb7fd405e34d191e90: dial (base) xutengf(base) xutengf(base) xutengfei@xutengfei-G(b(b(bas(base) xutengfei@x(base) xutengf(base)(b(bas(base) x(base)(bas(b(b(bas(b(b(b(b(b(b(bas(base) x(b(b(bas(bas(b(bas(base)(b(base)(base) x(b(b(b(base) xutengfei@xutengfei-G3-3579:~(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker push registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.1
The push refers to repository [registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai]
b573502790ff: Layer already exists
bbde711bfc1d: Layer already exists
0236dd92a81f: Layer already exists
7df99d8c2ab3: Layer already exists
ac9092d7b19b: Layer already exists
9f5b4cdea532: Layer already exists
cd702377e4e5: Layer already exists
aa7af8a465c6: Layer already exists
ef9a7b8862f4: Layer already exists
a1f2f42922b1: Layer already exists
4762552ad7d8: Layer already exists
1.1: digest: sha256:3a5d042ee0b9abc665710320b69315194c8ef29693f7e8ebc6da72ccd58749dc size: 2644
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker build -t registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.2 .
Sending build context to Docker daemon 573.9MB
Step 1/4 : FROM python_cv:add-detectron2
---> 649ba9b16fbb
Step 2/4 : ADD . /
---> 46f7d1b8634f
Step 3/4 : WORKDIR /
---> Running in bc1a54dc1acb
Removing intermediate container bc1a54dc1acb
---> 613ec2514520
Step 4/4 : CMD ["sh", "run.sh"]
---> Running in 1b16d50ca3ea
Removing intermediate container 1b16d50ca3ea
---> f656e7697608
Successfully built f656e7697608
Successfully tagged registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.2
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker push registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.2
[sudo] xutengfei 的密码:
The push refers to repository [registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai]
b573502790ff: Layer already exists
36455514dfdc: Pushed
bbde711bfc1d: Layer already exists
0236dd92a81f: Layer already exists
7df99d8c2ab3: Layer already exists
ac9092d7b19b: Layer already exists
9f5b4cdea532: Layer already exists
cd702377e4e5: Layer already exists
aa7af8a465c6: Layer already exists
ef9a7b8862f4: Layer already exists
a1f2f42922b1: Layer already exists
4762552ad7d8: Layer already exists
1.2: digest: sha256:5786c3694894a33a15a03ca024b91c5b6a4a7878b07ff177e0a0a854964c11db size: 2853
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ cat /usr/local/cuda/version.txt
cat: /usr/local/cuda/version.txt: 没有那个文件或目录
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker build -t registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.3 .
Sending build context to Docker daemon 573.9MB
Step 1/4 : FROM python_cv_cu101:detectron2
---> 3cd92cb32f4d
Step 2/4 : ADD . /
---> 75d15a8a9780
Step 3/4 : WORKDIR /
---> Running in 20058260aecf
Removing intermediate container 20058260aecf
---> a928b1527f6c
Step 4/4 : CMD ["sh", "run.sh"]
---> Running in 6f03b9cf4693
Removing intermediate container 6f03b9cf4693
---> a646f583e850
Successfully built a646f583e850
Successfully tagged registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.3
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker login --username=利维_阿克曼 registry.cn-shenzhen.aliyuncs.com
[sudo] xutengfei 的密码:
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker push registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.3
The push refers to repository [registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai]
5a093184eedd: Pushed
d709b3643d6e: Pushed
b0643e258249: Pushed
4d64a8bbbc06: Pushed
35ff166c35a9: Pushed
c0cb45b106e8: Pushed
486a27d7fdcd: Pushed
1db09913a256: Pushed
2e282f599fd6: Pushed
e6f174f76be4: Pushed
808fd332a58a: Pushed
b16af11cbf29: Pushed
37b9a4b22186: Pushed
e0b3afb09dc3: Pushed
6c01b5a53aac: Pushed
2c6ac8e5063e: Pushed
cc967c529ced: Pushed
1.3: digest: sha256:34d4a42f3c31e3b30e922e01553145f7f21dd38275dc21478e83ad9682f62311 size: 3901
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker build -t registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.4 .
Sending build context to Docker daemon 573.9MB
Step 1/4 : FROM python_cv_cu101:detectron2
---> 5f73c85d3971
Step 2/4 : ADD . /
---> 32dd8472f765
Step 3/4 : WORKDIR /
---> Running in 225b0d75c067
Removing intermediate container 225b0d75c067
---> 52426343aab8
Step 4/4 : CMD ["sh", "run.sh"]
---> Running in 4b6c75c3d673
Removing intermediate container 4b6c75c3d673
---> b2e7cd7b11b2
Successfully built b2e7cd7b11b2
Successfully tagged registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.4
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker push registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.4
[sudo] xutengfei 的密码:
The push refers to repository [registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai]
5a093184eedd: Layer already exists
51c21ddf1aec: Pushed
b0643e258249: Layer already exists
4d64a8bbbc06: Layer already exists
35ff166c35a9: Layer already exists
c0cb45b106e8: Layer already exists
486a27d7fdcd: Layer already exists
1db09913a256: Layer already exists
2e282f599fd6: Layer already exists
e6f174f76be4: Layer already exists
808fd332a58a: Layer already exists
b16af11cbf29: Layer already exists
37b9a4b22186: Layer already exists
e0b3afb09dc3: Layer already exists
6c01b5a53aac: Layer already exists
2c6ac8e5063e: Layer already exists
cc967c529ced: Layer already exists
1.4: digest: sha256:c1e74fd154bc13f5be219a0d45604ccc6ad85ab48e861cb03259372cfe4b7cd5 size: 3901
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ docker build -t registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.5 .
Sending build context to Docker daemon 573.9MB
Step 1/4 : FROM python_cv_cu101:detectron2
---> d5615c5a9ea9
Step 2/4 : ADD . /
---> 41e63eca49e7
Step 3/4 : WORKDIR /
---> Running in 09a5bf75beb5
Removing intermediate container 09a5bf75beb5
---> 6a2228a6626a
Step 4/4 : CMD ["sh", "run.sh"]
---> Running in 310fab80c2cc
Removing intermediate container 310fab80c2cc
---> 914bd8be4370
Successfully built 914bd8be4370
Successfully tagged registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.5
(base) xutengfei@xutengfei-G3-3579:~/aliyun/competition/reshensai_1_GAIC/handin$ sudo docker push registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai:1.5
[sudo] xutengfei 的密码:
The push refers to repository [registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai]
5a093184eedd: Layer already exists
d65fc2264f4d: Pushed
b0643e258249: Layer already exists
4d64a8bbbc06: Layer already exists
35ff166c35a9: Layer already exists
c0cb45b106e8: Layer already exists
486a27d7fdcd: Layer already exists
1db09913a256: Layer already exists
2e282f599fd6: Layer already exists
e6f174f76be4: Layer already exists
808fd332a58a: Layer already exists
b16af11cbf29: Layer already exists
37b9a4b22186: Layer already exists
e0b3afb09dc3: Layer already exists
6c01b5a53aac: Layer already exists
2c6ac8e5063e: Layer already exists
cc967c529ced: Layer already exists
1.5: digest: sha256:4948a58f79624900bc95f4a5982d3617b2ee64fcd6e66256d8c05e6212ba9bdb size: 3901
(base) xutengfei@xutengfei-G3-3579:~$ nvidia-smi
Sun Feb 28 08:56:38 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 42C P0 N/A / N/A | 253MiB / 4040MiB | 4% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1194 G /usr/lib/xorg/Xorg 45MiB |
| 0 N/A N/A 1946 G /usr/lib/xorg/Xorg 82MiB |
| 0 N/A N/A 2127 G /usr/bin/gnome-shell 114MiB |
+-----------------------------------------------------------------------------+
(base) xutengfei@xutengfei-G3-3579:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
(base) xutengfei@xutengfei-G3-3579:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
62cdf4d59ba3 5f0eb96d4de5 "python3" 10 hours ago Exited (255) 6 minutes ago angry_hugle
85376a7d0f99 5f0eb96d4de5 "python3" 10 hours ago Created eager_colden
19bdfa58c226 python:3.8 "bash" 21 hours ago Exited (0) 19 hours ago agitated_bartik
fdb8bd26a2d0 python:3.8 "python3" 21 hours ago Exited (137) 10 hours ago epic_galileo
ffa4aeed9ec0 1abba0409798 "/bin/sh -c 'python …" 33 hours ago Exited (2) 33 hours ago vigilant_meninsky
cbe8ea3c4779 8fcfbebff40a "sh run.sh" 4 weeks ago Created mycontainer1
(base) xutengfei@xutengfei-G3-3579:~$ docker start 62cdf4d59ba3
62cdf4d59ba3
(base) xutengfei@xutengfei-G3-3579:~$ docker exec -it 62cd bash
root@62cdf4d59ba3:/# nvidia-smi
Sun Feb 28 09:03:51 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 48C P0 N/A / N/A | 243MiB / 4040MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
root@62cdf4d59ba3:/# exit
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 11 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 11 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 13 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 14 hours ago 3.53GB
<none> <none> 1abba0409798 34 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
(base) xutengfei@xutengfei-G3-3579:~$ docker pull registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:1.7-cuda10.0-py3
Error response from daemon: manifest for registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:1.7-cuda10.0-py3 not found: manifest unknown: manifest unknown
(base) xutengfei@xutengfei-G3-3579:~$ docker pull registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:latest-cuda9.0-py3
latest-cuda9.0-py3: Pulling from tcc-public/pytorch
7b722c1070cd: Pull complete
5fbf74db61f1: Pull complete
ed41cb72e5c9: Pull complete
7ea47a67709e: Pull complete
52efd3da8bcd: Pull complete
eea82f174227: Pull complete
0d7845ca9ae6: Pull complete
7819d88334de: Pull complete
2bbaa1405a04: Pull complete
084c48facd1b: Pull complete
ab4ffe1e1e24: Pull complete
7a10a672025c: Pull complete
0065879d0f60: Pull complete
8e70f7418f72: Pull complete
0683061889cd: Pull complete
1c5584edc868: Pull complete
70c836e0138b: Pull complete
eb3119b05dc4: Pull complete
5f0ea2582243: Pull complete
43893bad4bc8: Pull complete
91b6b920dc2b: Pull complete
313c4a4b8952: Pull complete
df566de85d09: Pull complete
Digest: sha256:96fe4ea6eb56ad1d257a3dbdf5b710bb7df497f4d32e5cf4be984436b7774d6d
Status: Downloaded newer image for registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:latest-cuda9.0-py3
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:latest-cuda9.0-py3
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 12 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 12 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 13 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 15 hours ago 3.53GB
<none> <none> 1abba0409798 35 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch latest-cuda9.0-py3 a1468b979c41 23 months ago 3.56GB
(base) xutengfei@xutengfei-G3-3579:~$ docker run -itd --gpus all -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all a1468b979c41
d71e2138eb7ace5f665af94baa6698e7824b5667fb6eb96fdde9f2142bc836e1
(base) xutengfei@xutengfei-G3-3579:~$ docker exec -it d71e2138eb7ace bash
user@d71e2138eb7a:/app$ cd /
user@d71e2138eb7a:/$ ls
app bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var
user@d71e2138eb7a:/$ pip
Usage:
pip <command> [options]
Commands:
install Install packages.
download Download packages.
uninstall Uninstall packages.
freeze Output installed packages in requirements format.
list List installed packages.
show Show information about installed packages.
check Verify installed packages have compatible dependencies.
config Manage local and global configuration.
search Search PyPI for packages.
wheel Build wheels from your requirements.
hash Compute hashes of package archives.
completion A helper command used for command completion.
help Show help for commands.
General Options:
-h, --help Show help.
--isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
-v, --verbose Give more output. Option is additive, and can be used up to 3 times.
-V, --version Show version and exit.
-q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).
--log <path> Path to a verbose appending log.
--proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
--retries <retries> Maximum number of retries each connection should attempt (default 5 times).
--timeout <sec> Set the socket timeout (default 15 seconds).
--exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort).
--trusted-host <hostname> Mark this host as trusted, even though it does not have valid or any HTTPS.
--cert <path> Path to alternate CA bundle.
--client-cert <path> Path to SSL client certificate, a single file containing the private key and the certificate in PEM format.
--cache-dir <dir> Store the cache data in <dir>.
--no-cache-dir Disable the cache.
--disable-pip-version-check
Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.
--no-color Suppress colored output
user@d71e2138eb7a:/$ pip list
Package Version
---------------- --------
asn1crypto 0.24.0
certifi 2019.3.9
cffi 1.12.2
chardet 3.0.4
cryptography 2.3.1
graphviz 0.8.4
h5py 2.8.0
h5py-cache 1.0
idna 2.8
mkl-fft 1.0.10
mkl-random 1.0.2
numpy 1.16.2
olefile 0.46
Pillow 4.2.1
pip 19.0.3
pycparser 2.19
pyOpenSSL 19.0.0
PySocks 1.6.8
pyzmq 18.0.1
requests 2.21.0
scipy 1.2.1
setuptools 40.8.0
six 1.12.0
torch 1.0.0
torchfile 0.1.0
torchnet 0.0.4
torchvision 0.2.1
tornado 6.0.2
urllib3 1.24.1
visdom 0.1.8.8
websocket-client 0.56.0
wheel 0.33.1
user@d71e2138eb7a:/$ exit
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 12 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 12 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 13 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 15 hours ago 3.53GB
<none> <none> 1abba0409798 35 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch latest-cuda9.0-py3 a1468b979c41 23 months ago 3.56GB
(base) xutengfei@xutengfei-G3-3579:~$ docker rm d71e2138eb7ace
Error response from daemon: You cannot remove a running container d71e2138eb7ace5f665af94baa6698e7824b5667fb6eb96fdde9f2142bc836e1. Stop the container before attempting removal or force remove
(base) xutengfei@xutengfei-G3-3579:~$ docker stop d71e2138eb7ace
d71e2138eb7ace
(base) xutengfei@xutengfei-G3-3579:~$ docker rm d71e2138eb7ace
d71e2138eb7ace
(base) xutengfei@xutengfei-G3-3579:~$ docker rmi a1468b979c41
Untagged: registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:latest-cuda9.0-py3
Untagged: registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch@sha256:96fe4ea6eb56ad1d257a3dbdf5b710bb7df497f4d32e5cf4be984436b7774d6d
Deleted: sha256:a1468b979c4105c69bcdf642688d61e3c5fd749df0c49a7834f823951bb21220
Deleted: sha256:080700c00287b7df7ad0d43610d636697a75f3874f73c734244cdd1ef3901db6
Deleted: sha256:e0182b30bfc9052a76f76d5a3981dc318cd971b09cea32b5b8794b0881799985
Deleted: sha256:694722e8f7b97428c47a2e06b4c3869dcb194e8b25f6a2448d3779b462faca89
Deleted: sha256:d1c416437a6319753cf6d12e8103dcf7e23f47b643394cfd2701452d44f47939
Deleted: sha256:31694b2cf355037b622977334da27cd07d04a1077cd1540b6c2a6105a6d4cb65
Deleted: sha256:6ca5016a52b8462197da24301f4b7dc9aaa1669a256de8c0a30d9501c53a4f52
Deleted: sha256:e1f51c668fa4a3399abdd61abf1281d92e3915c9ccfe7ab915860d5f7dcf3948
Deleted: sha256:6b0fcc3f0ac70c3a823b050ecc4d985817451a54892ad8ba50b3d01bd72ab6a1
Deleted: sha256:4230abd6fdfbff407085d6fa08b03ad2d17a4d1ef0dbf5ac6c8376472964d1df
Deleted: sha256:80ec3a5f2ee0949c12b9a8419a2117ef250ed6e188e32a36ce56a659a9250eb7
Deleted: sha256:963757013ad54b2fc9c139dd61d147bc2f736795d539f8d479de40be72e7ac0c
Deleted: sha256:9cfb7732bcc05311007e211b01cc22db1991421efa5f82a05d9f4471bda9d33e
Deleted: sha256:c702261fb9497e2d447427cc61687169879448a6332c95b6c90b126ba7130d91
Deleted: sha256:8fbdf73adf90a7e437ebedb1056522b23a5c17597a172c2ea4af5a797afa83ea
Deleted: sha256:21cbf718c9be1b2f6e111fd891869333ca73c19aae95c9bda3d4891b26a5d936
Deleted: sha256:0da68e321d7a25cb56c888c8b67ff7d610a0554e44825ce4268254c29d1d1848
Deleted: sha256:02645927d9adc7154fb52977b563f03d4431d319e181bbc516d41a13b81be69a
Deleted: sha256:43f8aefa2cb3b9387fabdd2a5753e336fccff0db99ea30430b509565b2104b9a
Deleted: sha256:78ec756f4449408f6914c5cb7ab3f34bfe0e3fe4d8ee4fe1cd42f44a364201a6
Deleted: sha256:7eb46ebc736921ffa70c8757618b02e4d0d3c4627d823a7e1b8f59bb924ecf93
Deleted: sha256:4f9c6186221ca469b29e4b55599f2a7969b705df4ef10d1585f2e7681503eb7b
Deleted: sha256:fc94d17b18c9a353a5b5b9500e04a4c24d8d4b2632fd549596c85e6157377fc2
Deleted: sha256:0de2edf7bff41238438e25b6f2de055b97c7fb6fe095cd560c2095b8dd70fc99
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 12 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 12 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 13 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 15 hours ago 3.53GB
<none> <none> 1abba0409798 35 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
(base) xutengfei@xutengfei-G3-3579:~$ docker pull registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:1.4-cuda10.1-py3
1.4-cuda10.1-py3: Pulling from tcc-public/pytorch
7ddbc47eeb70: Pull complete
c1bbdc448b72: Pull complete
8c3b70e39044: Pull complete
45d437916d57: Pull complete
d8f1569ddae6: Pull complete
85386706b020: Pull complete
ee9b457b77d0: Pull complete
be4f3343ecd3: Pull complete
30b4effda4fd: Pull complete
b398e882f414: Pull complete
64e532b06236: Pull complete
31188d0173e6: Pull complete
4a1386f93f29: Pull complete
87d47d0287c7: Pull complete
7a932c9d3ad4: Pull complete
Digest: sha256:c612782acc39256aac0637d58d297644066c62f6f84f0b88cfdc335bb25d0d22
Status: Downloaded newer image for registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:1.4-cuda10.1-py3
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch:1.4-cuda10.1-py3
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 12 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 12 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 14 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 15 hours ago 3.53GB
<none> <none> 1abba0409798 36 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch 1.4-cuda10.1-py3 76c152fbfd03 13 months ago 7.56GB
(base) xutengfei@xutengfei-G3-3579:~$ docker run -itd --gpus all -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all 76c152fbfd03
964b4397ffefd4951b1ff12be7dd94a504f929c645077f884c730c6c59f12084
(base) xutengfei@xutengfei-G3-3579:~$ docker exec -it 964b4397ffefd4951b1ff12be7dd94a504f929c645077f884c730c6c59f12084 bash
root@964b4397ffef:/workspace# cd /
root@964b4397ffef:/# pip list
Package Version
---------------------- ----------
asn1crypto 1.2.0
backcall 0.1.0
beautifulsoup4 4.8.2
certifi 2019.11.28
cffi 1.13.0
chardet 3.0.4
conda 4.8.1
conda-build 3.18.11
conda-package-handling 1.6.0
cryptography 2.8
decorator 4.4.1
filelock 3.0.12
glob2 0.7
idna 2.8
ipython 7.11.1
ipython-genutils 0.2.0
jedi 0.15.2
Jinja2 2.10.3
libarchive-c 2.8
lief 0.9.0
MarkupSafe 1.1.1
mkl-fft 1.0.15
mkl-random 1.1.0
mkl-service 2.3.0
numpy 1.17.4
olefile 0.46
parso 0.5.2
pexpect 4.7.0
pickleshare 0.7.5
Pillow 7.0.0
pip 19.3.1
pkginfo 1.5.0.1
prompt-toolkit 3.0.2
psutil 5.6.7
ptyprocess 0.6.0
pycosat 0.6.3
pycparser 2.19
Pygments 2.5.2
pyOpenSSL 19.0.0
PySocks 1.7.1
pytz 2019.3
PyYAML 5.2
requests 2.22.0
ruamel-yaml 0.15.46
setuptools 41.4.0
six 1.12.0
soupsieve 1.9.5
torch 1.4.0
torchvision 0.5.0
tqdm 4.36.1
traitlets 4.3.3
urllib3 1.24.2
wcwidth 0.1.7
wheel 0.33.6
root@964b4397ffef:/# pip install opencv-python
Collecting opencv-python
Downloading https://files.pythonhosted.org/packages/0f/13/192104516c4a3d92dc6b5e106ffcfbf0fe35f3c4faa49650205ff652af72/opencv_python-4.5.1.48-cp37-cp37m-manylinux2014_x86_64.whl (50.4MB)
|▏ | 184kB 32kB/s eta 0:26:00^C
ERROR: Operation cancelled by user
root@964b4397ffef:/# apt-get update
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:3 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 InRelease
Ign:4 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease
Get:5 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 Release [697 B]
Get:6 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 Release.gpg [836 B]
Get:7 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 Release [564 B]
Get:8 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 Release.gpg [833 B]
Ign:9 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 Packages
Ign:9 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages
Get:10 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 Packages [66.5 kB]
Get:9 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 Packages [576 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1963 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [43.5 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1392 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [304 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [50.5 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2163 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [334 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2394 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Fetched 22.7 MB in 23s (1002 kB/s)
Reading package lists... Done
root@964b4397ffef:/# apt-get install vim -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
file libgpm2 libmagic-mgc libmagic1 libmpdec2 libpython3.6 libpython3.6-minimal libpython3.6-stdlib mime-support vim-common vim-runtime xxd
Suggested packages:
gpm ctags vim-doc vim-scripts
The following NEW packages will be installed:
file libgpm2 libmagic-mgc libmagic1 libmpdec2 libpython3.6 libpython3.6-minimal libpython3.6-stdlib mime-support vim vim-common vim-runtime xxd
0 upgraded, 13 newly installed, 0 to remove and 101 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 54.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic-mgc amd64 1:5.32-2ubuntu0.4 [184 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic1 amd64 1:5.32-2ubuntu0.4 [68.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 file amd64 1:5.32-2ubuntu0.4 [22.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpdec2 amd64 2.4.2-1ubuntu1 [84.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.4 [534 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 mime-support all 3.60ubuntu1 [30.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.4 [1712 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 xxd amd64 2:8.0.1453-1ubuntu1.4 [49.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 vim-common all 2:8.0.1453-1ubuntu1.4 [70.4 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgpm2 amd64 1.20.7-5 [15.1 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.4 [1414 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 vim-runtime all 2:8.0.1453-1ubuntu1.4 [5435 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 vim amd64 2:8.0.1453-1ubuntu1.4 [1152 kB]
Fetched 10.8 MB in 10s (1086 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libmagic-mgc.
(Reading database ... 13157 files and directories currently installed.)
Preparing to unpack .../00-libmagic-mgc_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic-mgc (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../01-libmagic1_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package file.
Preparing to unpack .../02-file_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking file (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../03-libmpdec2_2.4.2-1ubuntu1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1ubuntu1) ...
Selecting previously unselected package libpython3.6-minimal:amd64.
Preparing to unpack .../04-libpython3.6-minimal_3.6.9-1~18.04ubuntu1.4_amd64.deb ...
Unpacking libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../05-mime-support_3.60ubuntu1_all.deb ...
Unpacking mime-support (3.60ubuntu1) ...
Selecting previously unselected package libpython3.6-stdlib:amd64.
Preparing to unpack .../06-libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.4_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Selecting previously unselected package xxd.
Preparing to unpack .../07-xxd_2%3a8.0.1453-1ubuntu1.4_amd64.deb ...
Unpacking xxd (2:8.0.1453-1ubuntu1.4) ...
Selecting previously unselected package vim-common.
Preparing to unpack .../08-vim-common_2%3a8.0.1453-1ubuntu1.4_all.deb ...
Unpacking vim-common (2:8.0.1453-1ubuntu1.4) ...
Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../09-libgpm2_1.20.7-5_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-5) ...
Selecting previously unselected package libpython3.6:amd64.
Preparing to unpack .../10-libpython3.6_3.6.9-1~18.04ubuntu1.4_amd64.deb ...
Unpacking libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../11-vim-runtime_2%3a8.0.1453-1ubuntu1.4_all.deb ...
Adding 'diversion of /usr/share/vim/vim80/doc/help.txt to /usr/share/vim/vim80/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim80/doc/tags to /usr/share/vim/vim80/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:8.0.1453-1ubuntu1.4) ...
Selecting previously unselected package vim.
Preparing to unpack .../12-vim_2%3a8.0.1453-1ubuntu1.4_amd64.deb ...
Unpacking vim (2:8.0.1453-1ubuntu1.4) ...
Setting up mime-support (3.60ubuntu1) ...
Setting up xxd (2:8.0.1453-1ubuntu1.4) ...
Setting up libgpm2:amd64 (1.20.7-5) ...
Setting up libmagic-mgc (1:5.32-2ubuntu0.4) ...
Setting up libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Setting up libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Setting up vim-common (2:8.0.1453-1ubuntu1.4) ...
Setting up vim-runtime (2:8.0.1453-1ubuntu1.4) ...
Setting up libmpdec2:amd64 (2.4.2-1ubuntu1) ...
Setting up libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Setting up file (1:5.32-2ubuntu0.4) ...
Setting up libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Setting up vim (2:8.0.1453-1ubuntu1.4) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/vi.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group vi) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/it/man1/vi.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group vi) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/pl/man1/vi.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group vi) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ru/man1/vi.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group vi) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ja/man1/vi.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group vi) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/vi.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group vi) doesn't exist
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/view.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group view) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/it/man1/view.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group view) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/pl/man1/view.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group view) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ru/man1/view.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group view) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ja/man1/view.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group view) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/view.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group view) doesn't exist
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/ex.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group ex) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/it/man1/ex.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group ex) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/pl/man1/ex.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group ex) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ru/man1/ex.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group ex) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ja/man1/ex.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group ex) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/ex.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group ex) doesn't exist
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/editor.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group editor) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/it/man1/editor.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group editor) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/pl/man1/editor.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group editor) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ru/man1/editor.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group editor) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/ja/man1/editor.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group editor) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group editor) doesn't exist
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@964b4397ffef:/# ls
bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var workspace
root@964b4397ffef:/# sudo
bash: sudo: command not found
root@964b4397ffef:/# apt-get install sudo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
sudo
0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded.
Need to get 428 kB of archives.
After this operation, 1765 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 sudo amd64 1.8.21p2-3ubuntu1.4 [428 kB]
Fetched 428 kB in 4s (114 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package sudo.
(Reading database ... 15655 files and directories currently installed.)
Preparing to unpack .../sudo_1.8.21p2-3ubuntu1.4_amd64.deb ...
Unpacking sudo (1.8.21p2-3ubuntu1.4) ...
Setting up sudo (1.8.21p2-3ubuntu1.4) ...
root@964b4397ffef:/# sudo vim /etc/apt/sources.list
root@964b4397ffef:/# apt-get update
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease [242 kB]
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [88.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed InRelease [242 kB]
Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main Sources [1063 kB]
Ign:9 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 InRelease
Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/restricted Sources [5823 B]
Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/multiverse Sources [216 kB]
Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe Sources [11.5 MB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Ign:14 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease
Hit:16 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 Release
Hit:18 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 Release
Get:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:21 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:22 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 Packages [1344 kB]
Get:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:24 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main Sources [634 kB]
Get:25 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe Sources [568 kB]
Get:26 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/multiverse Sources [13.2 kB]
Get:27 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/restricted Sources [20.9 kB]
Get:28 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/restricted amd64 Packages [334 kB]
Get:29 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 Packages [2394 kB]
Get:30 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe amd64 Packages [2163 kB]
Get:31 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/multiverse amd64 Packages [50.5 kB]
Get:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/universe Sources [5759 B]
Get:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/main Sources [5823 B]
Get:34 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Get:35 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Get:36 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/multiverse Sources [5565 B]
Get:37 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/restricted Sources [17.4 kB]
Get:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/universe Sources [344 kB]
Get:39 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/main Sources [312 kB]
Get:40 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/main amd64 Packages [1963 kB]
Get:41 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/universe amd64 Packages [1392 kB]
Get:42 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/multiverse amd64 Packages [43.5 kB]
Get:43 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security/restricted amd64 Packages [304 kB]
Get:44 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/universe Sources [10.7 kB]
Get:45 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/restricted Sources [5185 B]
Get:46 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/main Sources [96.9 kB]
Get:47 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/restricted amd64 Packages [36.0 kB]
Get:48 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/main amd64 Packages [147 kB]
Get:49 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/universe amd64 Packages [26.9 kB]
Fetched 37.5 MB in 7s (5765 kB/s)
Reading package lists... Done
root@964b4397ffef:/# pip install opencv-python
Collecting opencv-python
Downloading https://files.pythonhosted.org/packages/0f/13/192104516c4a3d92dc6b5e106ffcfbf0fe35f3c4faa49650205ff652af72/opencv_python-4.5.1.48-cp37-cp37m-manylinux2014_x86_64.whl (50.4MB)
|▎ | 501kB 22kB/s eta 0:37:40^C
ERROR: Operation cancelled by user
root@964b4397ffef:/# mkdir ./pip
root@964b4397ffef:/# cd ./pip
root@964b4397ffef:/pip# vim pip.conf
root@964b4397ffef:/pip# pip install opencv-python
Collecting opencv-python
Downloading https://files.pythonhosted.org/packages/0f/13/192104516c4a3d92dc6b5e106ffcfbf0fe35f3c4faa49650205ff652af72/opencv_python-4.5.1.48-cp37-cp37m-manylinux2014_x86_64.whl (50.4MB)
|▍ | 552kB 45kB/s eta 0:18:13^C
ERROR: Operation cancelled by user
root@964b4397ffef:/pip# cd /
root@964b4397ffef:/# mkdir ~/.pip
root@964b4397ffef:/# cd ~/.pip
root@964b4397ffef:~/.pip# vim pip.conf
root@964b4397ffef:~/.pip# pip install opencv-python
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting opencv-python
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0f/13/192104516c4a3d92dc6b5e106ffcfbf0fe35f3c4faa49650205ff652af72/opencv_python-4.5.1.48-cp37-cp37m-manylinux2014_x86_64.whl (50.4MB)
|████████████████████████████████| 50.4MB 5.1MB/s
Requirement already satisfied: numpy>=1.14.5 in /opt/conda/lib/python3.7/site-packages (from opencv-python) (1.17.4)
Installing collected packages: opencv-python
Successfully installed opencv-python-4.5.1.48
root@964b4397ffef:~/.pip# pip install torch
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: torch in /opt/conda/lib/python3.7/site-packages (1.4.0)
root@964b4397ffef:~/.pip# pip install fvcore
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting fvcore
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a7/e0/594bcd4a488e5a8806e49a1d09280fce99c87c0cc80d5172934565c744a3/fvcore-0.1.3.post20210227.tar.gz (47kB)
|████████████████████████████████| 51kB 161kB/s
Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from fvcore) (1.17.4)
Collecting yacs>=0.1.6
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/38/4f/fe9a4d472aa867878ce3bb7efb16654c5d63672b86dc0e6e953a67018433/yacs-0.1.8-py3-none-any.whl
Requirement already satisfied: pyyaml>=5.1 in /opt/conda/lib/python3.7/site-packages (from fvcore) (5.2)
Requirement already satisfied: tqdm in /opt/conda/lib/python3.7/site-packages (from fvcore) (4.36.1)
Collecting termcolor>=1.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Requirement already satisfied: Pillow in /opt/conda/lib/python3.7/site-packages (from fvcore) (7.0.0)
Collecting tabulate
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ca/80/7c0cad11bd99985cfe7c09427ee0b4f9bd6b048bd13d4ffb32c6db237dfb/tabulate-0.8.9-py3-none-any.whl
Collecting iopath>=0.1.2
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/07/e3/5d16bd5056730737e5d11deafb89e7e7435afa9c8bf8748f94019f1d2260/iopath-0.1.4.tar.gz
Collecting portalocker
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/82/22/e684c9e2e59b561dbe36538852e81849122c666c423448e3a5c99362c228/portalocker-2.2.1-py2.py3-none-any.whl
Building wheels for collected packages: fvcore, termcolor, iopath
Building wheel for fvcore (setup.py) ... done
Created wheel for fvcore: filename=fvcore-0.1.3.post20210227-cp37-none-any.whl size=59001 sha256=304dd194cfc06f1c7bbe3a7957e9e1acf43fcab9c0e82246824e7c01a98ab7eb
Stored in directory: /root/.cache/pip/wheels/e9/dc/b8/bcfbc25fc874ec834c3729c08dc0c22affa5e402da7e6dd8cd
Building wheel for termcolor (setup.py) ... done
Created wheel for termcolor: filename=termcolor-1.1.0-cp37-none-any.whl size=4832 sha256=e90bc98475b1e5b94ffb69df4d9490fe1388b9b7fb106c3722e25022cc519d86
Stored in directory: /root/.cache/pip/wheels/e3/d8/fc/50ab6e66e3dead21d5afff006dc5298913a3064be2b1105359
Building wheel for iopath (setup.py) ... done
Created wheel for iopath: filename=iopath-0.1.4-cp37-none-any.whl size=15571 sha256=0eaef0bc64ff54012f4c66cbc311fbf5189ea8c54517650ffa7ce3b028bd1f90
Stored in directory: /root/.cache/pip/wheels/e3/b9/96/aa83d6eb3207fef418822763e3c6fb2008602f521cdd1f5587
Successfully built fvcore termcolor iopath
Installing collected packages: yacs, termcolor, tabulate, portalocker, iopath, fvcore
Successfully installed fvcore-0.1.3.post20210227 iopath-0.1.4 portalocker-2.2.1 tabulate-0.8.9 termcolor-1.1.0 yacs-0.1.8
root@964b4397ffef:~/.pip# pip3 install -U Cython
bash: pip3: command not found
root@964b4397ffef:~/.pip# pip install -U Cython
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting Cython
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/74/c8/fa46acc8f829b64161a43315f42d2170de8ac961b251654cd81256520d98/Cython-0.29.22-cp37-cp37m-manylinux1_x86_64.whl (2.0MB)
|████████████████████████████████| 2.0MB 11.2MB/s
Installing collected packages: Cython
Successfully installed Cython-0.29.22
root@964b4397ffef:~/.pip# pip install -U pycocotools
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pycocotools
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/de/df/056875d697c45182ed6d2ae21f62015896fdb841906fe48e7268e791c467/pycocotools-2.0.2.tar.gz
Requirement already satisfied, skipping upgrade: setuptools>=18.0 in /opt/conda/lib/python3.7/site-packages (from pycocotools) (41.4.0)
Requirement already satisfied, skipping upgrade: cython>=0.27.3 in /opt/conda/lib/python3.7/site-packages (from pycocotools) (0.29.22)
Collecting matplotlib>=2.1.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/23/3d/db9a6b3c83c9511301152dbb64a029c3a4313c86eaef12c237b13ecf91d6/matplotlib-3.3.4-cp37-cp37m-manylinux1_x86_64.whl (11.5MB)
|████████████████████████████████| 11.6MB 8.2MB/s
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
|████████████████████████████████| 71kB 630kB/s
Requirement already satisfied, skipping upgrade: numpy>=1.15 in /opt/conda/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (1.17.4)
Collecting python-dateutil>=2.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
|████████████████████████████████| 235kB 5.1MB/s
Collecting cycler>=0.10
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting kiwisolver>=1.0.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d2/46/231de802ade4225b76b96cffe419cf3ce52bbe92e3b092cf12db7d11c207/kiwisolver-1.3.1-cp37-cp37m-manylinux1_x86_64.whl (1.1MB)
|████████████████████████████████| 1.1MB 6.0MB/s
Requirement already satisfied, skipping upgrade: pillow>=6.2.0 in /opt/conda/lib/python3.7/site-packages (from matplotlib>=2.1.0->pycocotools) (7.0.0)
Requirement already satisfied, skipping upgrade: six>=1.5 in /opt/conda/lib/python3.7/site-packages (from python-dateutil>=2.1->matplotlib>=2.1.0->pycocotools) (1.12.0)
Building wheels for collected packages: pycocotools
Building wheel for pycocotools (setup.py) ... done
Created wheel for pycocotools: filename=pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl size=273608 sha256=1496a5fd1d00ff7b5c0e409a17dbb1714df3bffe640125aba89b9973ddb34b97
Stored in directory: /root/.cache/pip/wheels/8d/98/08/3ee310e02c446ddd06da29573ba5f7df3dccd8920eaf0303d0
Successfully built pycocotools
Installing collected packages: pyparsing, python-dateutil, cycler, kiwisolver, matplotlib, pycocotools
Successfully installed cycler-0.10.0 kiwisolver-1.3.1 matplotlib-3.3.4 pycocotools-2.0.2 pyparsing-2.4.7 python-dateutil-2.8.1
root@964b4397ffef:~/.pip# git clone https://github.com.cnpmjs.org/facebookresearch/detectron2.git
Cloning into 'detectron2'...
remote: Enumerating objects: 10441, done.
remote: Total 10441 (delta 0), reused 0 (delta 0), pack-reused 10441
Receiving objects: 100% (10441/10441), 4.33 MiB | 961.00 KiB/s, done.
Resolving deltas: 100% (7554/7554), done.
root@964b4397ffef:~/.pip# ls
detectron2 pip.conf
root@964b4397ffef:~/.pip# rm -r detectron2
root@964b4397ffef:~/.pip# ls\
> ^C
root@964b4397ffef:~/.pip# ls
pip.conf
root@964b4397ffef:~/.pip# cd /
root@964b4397ffef:/# git clone https://github.com.cnpmjs.org/facebookresearch/detectron2.git
Cloning into 'detectron2'...
remote: Enumerating objects: 10441, done.
remote: Total 10441 (delta 0), reused 0 (delta 0), pack-reused 10441
Receiving objects: 100% (10441/10441), 4.32 MiB | 750.00 KiB/s, done.
Resolving deltas: 100% (7550/7550), done.
root@964b4397ffef:/# cd detectron2 && pip install -e .
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Obtaining file:///detectron2
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/detectron2/setup.py'"'"'; __file__='"'"'/detectron2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
cwd: /detectron2/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/detectron2/setup.py", line 15, in <module>
assert torch_ver >= [1, 6], "Requires PyTorch >= 1.6"
AssertionError: Requires PyTorch >= 1.6
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
root@964b4397ffef:/detectron2# pip install -e .
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Obtaining file:///detectron2
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/detectron2/setup.py'"'"'; __file__='"'"'/detectron2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
cwd: /detectron2/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/detectron2/setup.py", line 15, in <module>
assert torch_ver >= [1, 6], "Requires PyTorch >= 1.6"
AssertionError: Requires PyTorch >= 1.6
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
root@964b4397ffef:/detectron2# cd /
root@964b4397ffef:/# pip install pytorch==1.7.1
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement pytorch==1.7.1 (from versions: 0.1.2, 1.0.2)
ERROR: No matching distribution found for pytorch==1.7.1
root@964b4397ffef:/# pip install pytorch==1.7
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement pytorch==1.7 (from versions: 0.1.2, 1.0.2)
ERROR: No matching distribution found for pytorch==1.7
root@964b4397ffef:/# pip install --upgrade pytorch torchvision
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pytorch
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ee/67/f403d4ae6e9cd74b546ee88cccdb29b8415a9c1b3d80aebeb20c9ea91d96/pytorch-1.0.2.tar.gz
Collecting torchvision
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/94/df/969e69a94cff1c8911acb0688117f95e1915becc1e01c73e7960a2c76ec8/torchvision-0.8.2-cp37-cp37m-manylinux1_x86_64.whl (12.8MB)
|████████████████████████████████| 12.8MB 461kB/s
Requirement already satisfied, skipping upgrade: pillow>=4.1.1 in /opt/conda/lib/python3.7/site-packages (from torchvision) (7.0.0)
Requirement already satisfied, skipping upgrade: numpy in /opt/conda/lib/python3.7/site-packages (from torchvision) (1.17.4)
Collecting torch==1.7.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/90/5d/095ddddc91c8a769a68c791c019c5793f9c4456a688ddd235d6670924ecb/torch-1.7.1-cp37-cp37m-manylinux1_x86_64.whl (776.8MB)
|████████████████████████████████| 776.8MB 10kB/s
Collecting typing-extensions
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl
Building wheels for collected packages: pytorch
Building wheel for pytorch (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7x5y7y47/pytorch/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7x5y7y47/pytorch/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pzspeys2 --python-tag cp37
cwd: /tmp/pip-install-7x5y7y47/pytorch/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-7x5y7y47/pytorch/setup.py", line 15, in <module>
raise Exception(message)
Exception: You tried to install "pytorch". The package named for PyTorch is "torch"
----------------------------------------
ERROR: Failed building wheel for pytorch
Running setup.py clean for pytorch
Failed to build pytorch
Installing collected packages: pytorch, typing-extensions, torch, torchvision
Running setup.py install for pytorch ... error
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7x5y7y47/pytorch/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7x5y7y47/pytorch/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-btlxch0u/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-7x5y7y47/pytorch/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-7x5y7y47/pytorch/setup.py", line 11, in <module>
raise Exception(message)
Exception: You tried to install "pytorch". The package named for PyTorch is "torch"
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7x5y7y47/pytorch/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7x5y7y47/pytorch/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-btlxch0u/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
(arg: 88) pip install --upgrade ^C
root@964b4397ffef:/# pip install --upgrade torch torchvision
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting torch
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/90/5d/095ddddc91c8a769a68c791c019c5793f9c4456a688ddd235d6670924ecb/torch-1.7.1-cp37-cp37m-manylinux1_x86_64.whl (776.8MB)
|████████████████████████████████| 776.8MB 11kB/s
Collecting torchvision
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/94/df/969e69a94cff1c8911acb0688117f95e1915becc1e01c73e7960a2c76ec8/torchvision-0.8.2-cp37-cp37m-manylinux1_x86_64.whl (12.8MB)
|████████████████████████████████| 12.8MB 573kB/s
Requirement already satisfied, skipping upgrade: numpy in /opt/conda/lib/python3.7/site-packages (from torch) (1.17.4)
Collecting typing-extensions
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl
Requirement already satisfied, skipping upgrade: pillow>=4.1.1 in /opt/conda/lib/python3.7/site-packages (from torchvision) (7.0.0)
Installing collected packages: typing-extensions, torch, torchvision
Found existing installation: torch 1.4.0
Uninstalling torch-1.4.0:
Successfully uninstalled torch-1.4.0
Found existing installation: torchvision 0.5.0
Uninstalling torchvision-0.5.0:
Successfully uninstalled torchvision-0.5.0
Successfully installed torch-1.7.1 torchvision-0.8.2 typing-extensions-3.7.4.3
root@964b4397ffef:/# cd detectron2
root@964b4397ffef:/detectron2# pip install -e .
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Obtaining file:///detectron2
Requirement already satisfied: termcolor>=1.1 in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (1.1.0)
Collecting Pillow>=7.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/eb/8e/d2f7a67cf8da9b83c1e3ee38dbf49448f3c8acb2cb38f76e4301f4a70223/Pillow-8.1.0-cp37-cp37m-manylinux1_x86_64.whl (2.2MB)
|████████████████████████████████| 2.2MB 194kB/s
Requirement already satisfied: yacs>=0.1.6 in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (0.1.8)
Requirement already satisfied: tabulate in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (0.8.9)
Collecting cloudpickle
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e7/e3/898487e5dbeb612054cf2e0c188463acb358167fef749c53c8bb8918cea1/cloudpickle-1.6.0-py3-none-any.whl
Requirement already satisfied: matplotlib in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (3.3.4)
Requirement already satisfied: tqdm>4.29.0 in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (4.36.1)
Collecting tensorboard
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/64/21/eebd23060763fedeefb78bc2b286e00fa1d8abda6f70efa2ee08c28af0d4/tensorboard-2.4.1-py3-none-any.whl (10.6MB)
|████████████████████████████████| 10.6MB 336kB/s
Requirement already satisfied: fvcore<0.1.4,>=0.1.3 in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (0.1.3.post20210227)
Requirement already satisfied: iopath>=0.1.2 in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (0.1.4)
Requirement already satisfied: pycocotools>=2.0.2 in /opt/conda/lib/python3.7/site-packages (from detectron2==0.3) (2.0.2)
Collecting future
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB)
|████████████████████████████████| 829kB 4.0MB/s
Collecting pydot
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ea/76/75b1bb82e9bad3e3d656556eaa353d8cd17c4254393b08ec9786ac8ed273/pydot-1.4.2-py2.py3-none-any.whl
Requirement already satisfied: PyYAML in /opt/conda/lib/python3.7/site-packages (from yacs>=0.1.6->detectron2==0.3) (5.2)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib->detectron2==0.3) (1.3.1)
Requirement already satisfied: python-dateutil>=2.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib->detectron2==0.3) (2.8.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /opt/conda/lib/python3.7/site-packages (from matplotlib->detectron2==0.3) (2.4.7)
Requirement already satisfied: numpy>=1.15 in /opt/conda/lib/python3.7/site-packages (from matplotlib->detectron2==0.3) (1.17.4)
Requirement already satisfied: cycler>=0.10 in /opt/conda/lib/python3.7/site-packages (from matplotlib->detectron2==0.3) (0.10.0)
Requirement already satisfied: six>=1.10.0 in /opt/conda/lib/python3.7/site-packages (from tensorboard->detectron2==0.3) (1.12.0)
Requirement already satisfied: setuptools>=41.0.0 in /opt/conda/lib/python3.7/site-packages (from tensorboard->detectron2==0.3) (41.4.0)
Collecting markdown>=2.6.8
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6e/33/1ae0f71395e618d6140fbbc9587cc3156591f748226075e0f7d6f9176522/Markdown-3.3.4-py3-none-any.whl (97kB)
|████████████████████████████████| 102kB 975kB/s
Collecting werkzeug>=0.11.15
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298kB)
|████████████████████████████████| 307kB 1.3MB/s
Collecting protobuf>=3.6.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/eb/c9/84b5f9a17d6d7340ade8ae60bae6b65e6e6b1755154e9d655d47669b1043/protobuf-3.15.3-cp37-cp37m-manylinux1_x86_64.whl (1.0MB)
|████████████████████████████████| 1.0MB 634kB/s
Collecting google-auth<2,>=1.6.3
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bf/6b/a364a4ad2a9d25904a19f53b9474ae9666b96e0653a6ca38492baf1bcf05/google_auth-1.27.0-py2.py3-none-any.whl (135kB)
|████████████████████████████████| 143kB 2.3MB/s
Collecting tensorboard-plugin-wit>=1.6.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1a/c1/499e600ba0c618b451cd9c425ae1c177249940a2086316552fee7d86c954/tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781kB)
|████████████████████████████████| 788kB 2.4MB/s
Collecting grpcio>=1.24.3
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f6/c0/d03e5c3d9ca1db9ca4c90d7338f2168af2a370ca2a8e7bca6e2d7d75edb2/grpcio-1.36.0-cp37-cp37m-manylinux2014_x86_64.whl (4.1MB)
|████████████████████████████████| 4.1MB 3.7MB/s
Collecting absl-py>=0.4
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bc/58/0aa6fb779dc69cfc811df3398fcbeaeefbf18561b6e36b185df0782781cc/absl_py-0.11.0-py3-none-any.whl (127kB)
|████████████████████████████████| 133kB 827kB/s
Requirement already satisfied: requests<3,>=2.21.0 in /opt/conda/lib/python3.7/site-packages (from tensorboard->detectron2==0.3) (2.22.0)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /opt/conda/lib/python3.7/site-packages (from tensorboard->detectron2==0.3) (0.33.6)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/81/67/e2c34bb0628984c7ce71cce6ba6964cb29c418873847fc285f826e032e6e/google_auth_oauthlib-0.4.2-py2.py3-none-any.whl
Requirement already satisfied: portalocker in /opt/conda/lib/python3.7/site-packages (from iopath>=0.1.2->detectron2==0.3) (2.2.1)
Requirement already satisfied: cython>=0.27.3 in /opt/conda/lib/python3.7/site-packages (from pycocotools>=2.0.2->detectron2==0.3) (0.29.22)
Collecting importlib-metadata; python_version < "3.8"
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3a/0d/af9e3dce6524461fa1e8327449f392edac8a3d880b4c91ce3e2d25450d03/importlib_metadata-3.7.0-py3-none-any.whl
Collecting cachetools<5.0,>=2.0.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bb/72/8df2e0dc991f1a1d2c6869404e7622e8ee50d80bff357dbb57c3df70305b/cachetools-4.2.1-py3-none-any.whl
Collecting rsa<5,>=3.1.4; python_version >= "3.6"
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e9/93/0c0f002031f18b53af7a6166103c02b9c0667be528944137cc954ec921b3/rsa-4.7.2-py3-none-any.whl
Collecting pyasn1-modules>=0.2.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl (155kB)
|████████████████████████████████| 163kB 1.6MB/s
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3) (2019.11.28)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3) (1.24.2)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3) (2.8)
Collecting requests-oauthlib>=0.7.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a3/12/b92740d845ab62ea4edf04d2f4164d82532b5a0b03836d4d4e71c6f3d379/requests_oauthlib-1.3.0-py2.py3-none-any.whl
Collecting zipp>=0.5
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl
Requirement already satisfied: typing-extensions>=3.6.4; python_version < "3.8" in /opt/conda/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->markdown>=2.6.8->tensorboard->detectron2==0.3) (3.7.4.3)
Collecting pyasn1>=0.1.3
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB)
|████████████████████████████████| 81kB 296kB/s
Collecting oauthlib>=3.0.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/05/57/ce2e7a8fa7c0afb54a0581b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl (147kB)
|████████████████████████████████| 153kB 501kB/s
Building wheels for collected packages: future
Building wheel for future (setup.py) ... done
Created wheel for future: filename=future-0.18.2-cp37-none-any.whl size=491057 sha256=0197beb7723cd753f20afff843616c2a02af3e5dfdaed7cc7c27544071b3fc55
Stored in directory: /root/.cache/pip/wheels/51/1f/ce/45545d77e2ce9d0e0d7cafa66721f71df0dc665eca26fc6d0e
Successfully built future
Installing collected packages: Pillow, cloudpickle, zipp, importlib-metadata, markdown, werkzeug, protobuf, cachetools, pyasn1, rsa, pyasn1-modules, google-auth, tensorboard-plugin-wit, grpcio, absl-py, oauthlib, requests-oauthlib, google-auth-oauthlib, tensorboard, future, pydot, detectron2
Found existing installation: Pillow 7.0.0
Uninstalling Pillow-7.0.0:
Successfully uninstalled Pillow-7.0.0
Running setup.py develop for detectron2
Successfully installed Pillow-8.1.0 absl-py-0.11.0 cachetools-4.2.1 cloudpickle-1.6.0 detectron2 future-0.18.2 google-auth-1.27.0 google-auth-oauthlib-0.4.2 grpcio-1.36.0 importlib-metadata-3.7.0 markdown-3.3.4 oauthlib-3.1.0 protobuf-3.15.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydot-1.4.2 requests-oauthlib-1.3.0 rsa-4.7.2 tensorboard-2.4.1 tensorboard-plugin-wit-1.8.0 werkzeug-1.0.1 zipp-3.4.0
root@964b4397ffef:/detectron2# cd /
root@964b4397ffef:/# nvidia-smi
Sun Feb 28 03:56:31 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 44C P0 N/A / N/A | 238MiB / 4040MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
root@964b4397ffef:/# pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement torch==1.7.1+cu101 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 0.4.1, 0.4.1.post2, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1)
ERROR: No matching distribution found for torch==1.7.1+cu101
root@964b4397ffef:/# cat /usr/local/cuda/version.txt
CUDA Version 10.1.243
root@964b4397ffef:/# pip list
Package Version Location
---------------------- ------------------ -----------
absl-py 0.11.0
asn1crypto 1.2.0
backcall 0.1.0
beautifulsoup4 4.8.2
cachetools 4.2.1
certifi 2019.11.28
cffi 1.13.0
chardet 3.0.4
cloudpickle 1.6.0
conda 4.8.1
conda-build 3.18.11
conda-package-handling 1.6.0
cryptography 2.8
cycler 0.10.0
Cython 0.29.22
decorator 4.4.1
detectron2 0.3 /detectron2
filelock 3.0.12
future 0.18.2
fvcore 0.1.3.post20210227
glob2 0.7
google-auth 1.27.0
google-auth-oauthlib 0.4.2
grpcio 1.36.0
idna 2.8
importlib-metadata 3.7.0
iopath 0.1.4
ipython 7.11.1
ipython-genutils 0.2.0
jedi 0.15.2
Jinja2 2.10.3
kiwisolver 1.3.1
libarchive-c 2.8
lief 0.9.0
Markdown 3.3.4
MarkupSafe 1.1.1
matplotlib 3.3.4
mkl-fft 1.0.15
mkl-random 1.1.0
mkl-service 2.3.0
numpy 1.17.4
oauthlib 3.1.0
olefile 0.46
opencv-python 4.5.1.48
parso 0.5.2
pexpect 4.7.0
pickleshare 0.7.5
Pillow 8.1.0
pip 19.3.1
pkginfo 1.5.0.1
portalocker 2.2.1
prompt-toolkit 3.0.2
protobuf 3.15.3
psutil 5.6.7
ptyprocess 0.6.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycocotools 2.0.2
pycosat 0.6.3
pycparser 2.19
pydot 1.4.2
Pygments 2.5.2
pyOpenSSL 19.0.0
pyparsing 2.4.7
PySocks 1.7.1
python-dateutil 2.8.1
pytz 2019.3
PyYAML 5.2
requests 2.22.0
requests-oauthlib 1.3.0
rsa 4.7.2
ruamel-yaml 0.15.46
setuptools 41.4.0
six 1.12.0
soupsieve 1.9.5
tabulate 0.8.9
tensorboard 2.4.1
tensorboard-plugin-wit 1.8.0
termcolor 1.1.0
torch 1.7.1
torchvision 0.8.2
tqdm 4.36.1
traitlets 4.3.3
typing-extensions 3.7.4.3
urllib3 1.24.2
wcwidth 0.1.7
Werkzeug 1.0.1
wheel 0.33.6
yacs 0.1.8
zipp 3.4.0
root@964b4397ffef:/# exit
(base) xutengfei@xutengfei-G3-3579:~$ docker commit -m='python for cv cu101' -a='xutengfei' 964b4397ffef python_cv_cu101:detectron2
sha256:3cd92cb32f4d503454d4f6b5a4d53c97097c67dcb61e281a887e396dab62a834
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
python_cv_cu101 detectron2 3cd92cb32f4d 3 minutes ago 10.5GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 13 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 13 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 15 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 16 hours ago 3.53GB
<none> <none> 1abba0409798 37 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch 1.4-cuda10.1-py3 76c152fbfd03 13 months ago 7.56GB
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.3 a646f583e850 40 minutes ago 11.1GB
python_cv_cu101 detectron2 3cd92cb32f4d 48 minutes ago 10.5GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 14 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 14 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 15 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 17 hours ago 3.53GB
<none> <none> 1abba0409798 37 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch 1.4-cuda10.1-py3 76c152fbfd03 13 months ago 7.56GB
(base) xutengfei@xutengfei-G3-3579:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
964b4397ffef 76c152fbfd03 "/bin/bash" 2 hours ago Up 2 hours exciting_nobel
62cdf4d59ba3 5f0eb96d4de5 "python3" 14 hours ago Up 4 hours angry_hugle
85376a7d0f99 5f0eb96d4de5 "python3" 14 hours ago Created eager_colden
19bdfa58c226 python:3.8 "bash" 25 hours ago Exited (0) 23 hours ago agitated_bartik
fdb8bd26a2d0 python:3.8 "python3" 25 hours ago Exited (137) 14 hours ago epic_galileo
ffa4aeed9ec0 1abba0409798 "/bin/sh -c 'python …" 37 hours ago Exited (2) 37 hours ago vigilant_meninsky
cbe8ea3c4779 8fcfbebff40a "sh run.sh" 4 weeks ago Created mycontainer1
(base) xutengfei@xutengfei-G3-3579:~$ docker exec -it 964b4397ffef bash
root@964b4397ffef:/workspace# sudo apt-get update
Hit:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed InRelease
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Ign:10 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 InRelease
Ign:11 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease
Hit:12 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 Release
Hit:14 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 Release
Fetched 252 kB in 9s (28.2 kB/s)
Reading package lists... Done
root@964b4397ffef:/workspace# sudo apt install libgl1-mesa-glx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libbsd0 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libedit2 libelf1 libgl1 libgl1-mesa-dri libglapi-mesa
libglvnd0 libglx-mesa0 libglx0 libllvm10 libpciaccess0 libsensors4 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
libxcb-present0 libxcb-sync1 libxcb1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxshmfence1 libxxf86vm1
Suggested packages:
pciutils lm-sensors
The following NEW packages will be installed:
libbsd0 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libedit2 libelf1 libgl1 libgl1-mesa-dri libgl1-mesa-glx
libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libllvm10 libpciaccess0 libsensors4 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0
libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1 libxcb1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxshmfence1 libxxf86vm1
0 upgraded, 35 newly installed, 0 to remove and 103 not upgraded.
Need to get 26.3 MB of archives.
After this operation, 331 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxau6 amd64 1:1.0.8-1ubuntu1 [7556 B]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.3 [114 kB]
Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.3 [571 kB]
Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB]
Get:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libxxf86vm1 amd64 1:1.1.4-1 [10.6 kB]
Get:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libelf1 amd64 0.170-0.4ubuntu0.1 [44.8 kB]
Get:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libdrm-common all 2.4.101-2~18.04.1 [5560 B]
Get:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libdrm2 amd64 2.4.101-2~18.04.1 [32.3 kB]
Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB]
Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libdrm-amdgpu1 amd64 2.4.101-2~18.04.1 [18.2 kB]
Get:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libpciaccess0 amd64 0.14-1 [17.9 kB]
Get:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libdrm-intel1 amd64 2.4.101-2~18.04.1 [60.0 kB]
Get:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libdrm-nouveau2 amd64 2.4.101-2~18.04.1 [16.5 kB]
Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libdrm-radeon1 amd64 2.4.101-2~18.04.1 [21.7 kB]
Get:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libglapi-mesa amd64 20.0.8-0ubuntu1~18.04.1 [26.6 kB]
Get:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libllvm10 amd64 1:10.0.0-4ubuntu1~18.04.2 [15.4 MB]
Get:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libsensors4 amd64 1:3.4.0-4 [28.8 kB]
Get:21 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libgl1-mesa-dri amd64 20.0.8-0ubuntu1~18.04.1 [9333 kB]
Get:22 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libglvnd0 amd64 1.0.0-2ubuntu2.3 [47.0 kB]
Get:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libx11-xcb1 amd64 2:1.6.4-3ubuntu0.3 [9628 B]
Get:24 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb-dri2-0 amd64 1.13-2~ubuntu18.04 [6920 B]
Get:25 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb-dri3-0 amd64 1.13-2~ubuntu18.04 [6568 B]
Get:26 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb-glx0 amd64 1.13-2~ubuntu18.04 [22.1 kB]
Get:27 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb-present0 amd64 1.13-2~ubuntu18.04 [5552 B]
Get:28 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxcb-sync1 amd64 1.13-2~ubuntu18.04 [8808 B]
Get:29 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libxdamage1 amd64 1:1.1.4-3 [6934 B]
Get:30 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libxfixes3 amd64 1:5.0.3-1 [10.8 kB]
Get:31 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 libxshmfence1 amd64 1.3-1 [5028 B]
Get:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libglx-mesa0 amd64 20.0.8-0ubuntu1~18.04.1 [139 kB]
Get:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libglx0 amd64 1.0.0-2ubuntu2.3 [28.1 kB]
Get:34 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libgl1 amd64 1.0.0-2ubuntu2.3 [86.2 kB]
Get:35 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libgl1-mesa-glx amd64 20.0.8-0ubuntu1~18.04.1 [5532 B]
Fetched 26.3 MB in 3s (8526 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libxau6:amd64.
(Reading database ... 15710 files and directories currently installed.)
Preparing to unpack .../00-libxau6_1%3a1.0.8-1ubuntu1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1ubuntu1) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ...
Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.3_all.deb ...
Unpacking libx11-data (2:1.6.4-3ubuntu0.3) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.3_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.3) ...
Selecting previously unselected package libxext6:amd64.
Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ...
Unpacking libxext6:amd64 (2:1.3.3-1) ...
Selecting previously unselected package libxxf86vm1:amd64.
Preparing to unpack .../07-libxxf86vm1_1%3a1.1.4-1_amd64.deb ...
Unpacking libxxf86vm1:amd64 (1:1.1.4-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../08-libelf1_0.170-0.4ubuntu0.1_amd64.deb ...
Unpacking libelf1:amd64 (0.170-0.4ubuntu0.1) ...
Selecting previously unselected package libdrm-common.
Preparing to unpack .../09-libdrm-common_2.4.101-2~18.04.1_all.deb ...
Unpacking libdrm-common (2.4.101-2~18.04.1) ...
Selecting previously unselected package libdrm2:amd64.
Preparing to unpack .../10-libdrm2_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../11-libedit2_3.1-20170329-1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20170329-1) ...
Selecting previously unselected package libdrm-amdgpu1:amd64.
Preparing to unpack .../12-libdrm-amdgpu1_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm-amdgpu1:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../13-libpciaccess0_0.14-1_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.14-1) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../14-libdrm-intel1_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package libdrm-nouveau2:amd64.
Preparing to unpack .../15-libdrm-nouveau2_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package libdrm-radeon1:amd64.
Preparing to unpack .../16-libdrm-radeon1_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package libglapi-mesa:amd64.
Preparing to unpack .../17-libglapi-mesa_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libglapi-mesa:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Selecting previously unselected package libllvm10:amd64.
Preparing to unpack .../18-libllvm10_1%3a10.0.0-4ubuntu1~18.04.2_amd64.deb ...
Unpacking libllvm10:amd64 (1:10.0.0-4ubuntu1~18.04.2) ...
Selecting previously unselected package libsensors4:amd64.
Preparing to unpack .../19-libsensors4_1%3a3.4.0-4_amd64.deb ...
Unpacking libsensors4:amd64 (1:3.4.0-4) ...
Selecting previously unselected package libgl1-mesa-dri:amd64.
Preparing to unpack .../20-libgl1-mesa-dri_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Selecting previously unselected package libglvnd0:amd64.
Preparing to unpack .../21-libglvnd0_1.0.0-2ubuntu2.3_amd64.deb ...
Unpacking libglvnd0:amd64 (1.0.0-2ubuntu2.3) ...
Selecting previously unselected package libx11-xcb1:amd64.
Preparing to unpack .../22-libx11-xcb1_2%3a1.6.4-3ubuntu0.3_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.6.4-3ubuntu0.3) ...
Selecting previously unselected package libxcb-dri2-0:amd64.
Preparing to unpack .../23-libxcb-dri2-0_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-dri2-0:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-dri3-0:amd64.
Preparing to unpack .../24-libxcb-dri3-0_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-dri3-0:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-glx0:amd64.
Preparing to unpack .../25-libxcb-glx0_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-glx0:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-present0:amd64.
Preparing to unpack .../26-libxcb-present0_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-present0:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxcb-sync1:amd64.
Preparing to unpack .../27-libxcb-sync1_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-sync1:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxdamage1:amd64.
Preparing to unpack .../28-libxdamage1_1%3a1.1.4-3_amd64.deb ...
Unpacking libxdamage1:amd64 (1:1.1.4-3) ...
Selecting previously unselected package libxfixes3:amd64.
Preparing to unpack .../29-libxfixes3_1%3a5.0.3-1_amd64.deb ...
Unpacking libxfixes3:amd64 (1:5.0.3-1) ...
Selecting previously unselected package libxshmfence1:amd64.
Preparing to unpack .../30-libxshmfence1_1.3-1_amd64.deb ...
Unpacking libxshmfence1:amd64 (1.3-1) ...
Selecting previously unselected package libglx-mesa0:amd64.
Preparing to unpack .../31-libglx-mesa0_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libglx-mesa0:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Selecting previously unselected package libglx0:amd64.
Preparing to unpack .../32-libglx0_1.0.0-2ubuntu2.3_amd64.deb ...
Unpacking libglx0:amd64 (1.0.0-2ubuntu2.3) ...
Selecting previously unselected package libgl1:amd64.
Preparing to unpack .../33-libgl1_1.0.0-2ubuntu2.3_amd64.deb ...
Unpacking libgl1:amd64 (1.0.0-2ubuntu2.3) ...
Selecting previously unselected package libgl1-mesa-glx:amd64.
Preparing to unpack .../34-libgl1-mesa-glx_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking libgl1-mesa-glx:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libedit2:amd64 (3.1-20170329-1) ...
Setting up libglvnd0:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libllvm10:amd64 (1:10.0.0-4ubuntu1~18.04.2) ...
Setting up libelf1:amd64 (0.170-0.4ubuntu0.1) ...
Setting up libxshmfence1:amd64 (1.3-1) ...
Setting up libglapi-mesa:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ...
Setting up libdrm-common (2.4.101-2~18.04.1) ...
Setting up libx11-xcb1:amd64 (2:1.6.4-3ubuntu0.3) ...
Setting up libpciaccess0:amd64 (0.14-1) ...
Setting up libsensors4:amd64 (1:3.4.0-4) ...
Setting up libxdmcp6:amd64 (1:1.1.2-3) ...
Setting up libx11-data (2:1.6.4-3ubuntu0.3) ...
Setting up libxau6:amd64 (1:1.0.8-1ubuntu1) ...
Setting up libdrm2:amd64 (2.4.101-2~18.04.1) ...
Setting up libdrm-intel1:amd64 (2.4.101-2~18.04.1) ...
Setting up libdrm-radeon1:amd64 (2.4.101-2~18.04.1) ...
Setting up libdrm-nouveau2:amd64 (2.4.101-2~18.04.1) ...
Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-present0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-dri2-0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-dri3-0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-glx0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libdrm-amdgpu1:amd64 (2.4.101-2~18.04.1) ...
Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.3) ...
Setting up libgl1-mesa-dri:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libxcb-sync1:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxdamage1:amd64 (1:1.1.4-3) ...
Setting up libxext6:amd64 (2:1.3.3-1) ...
Setting up libxfixes3:amd64 (1:5.0.3-1) ...
Setting up libxxf86vm1:amd64 (1:1.1.4-1) ...
Setting up libglx-mesa0:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libglx0:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libgl1:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libgl1-mesa-glx:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@964b4397ffef:/workspace# exit
(base) xutengfei@xutengfei-G3-3579:~$ docker commit -m='python for cv cu101' -a='xutengfei' 964b4397ffef python_cv_cu101:detectron2
sha256:5f73c85d3971306ff05cca898ce35729aa11b274a2d45baf6cc88cd2bb1a22bf
(base) xutengfei@xutengfei-G3-3579:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
python_cv_cu101 detectron2 5f73c85d3971 12 seconds ago 10.6GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.3 a646f583e850 47 minutes ago 11.1GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.2 f656e7697608 14 hours ago 3.63GB
python_cv add-detectron2 649ba9b16fbb 14 hours ago 3.05GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.1 19e2a939983f 16 hours ago 3.63GB
registry.cn-shenzhen.aliyuncs.com/xutengfei123/hand_for_reshensai 1.0 f44389ec5e09 17 hours ago 3.53GB
<none> <none> 1abba0409798 38 hours ago 3.94GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit 1.0 cfea8d55bbf5 4 weeks ago 1.02GB
registry.cn-shanghai.aliyuncs.com/xutengfei123/test_for_tianchi_submit <none> 8fcfbebff40a 4 weeks ago 1.02GB
python 3.8 4d53664a7025 4 weeks ago 883MB
registry.cn-shanghai.aliyuncs.com/tcc-public/pytorch 1.4-cuda10.1-py3 76c152fbfd03 13 months ago 7.56GB
(base) xutengfei@xutengfei-G3-3579:~$ docker exec -it 964b4397ffef bash
root@964b4397ffef:/workspace# apt-get install -y libglib2.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libglib2.0-data libicu60 libxml2 shared-mime-info xdg-user-dirs
The following NEW packages will be installed:
libglib2.0-0 libglib2.0-data libicu60 libxml2 shared-mime-info xdg-user-dirs
0 upgraded, 6 newly installed, 0 to remove and 103 not upgraded.
Need to get 10.4 MB of archives.
After this operation, 40.9 MB of additional disk space will be used.
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libglib2.0-0 amd64 2.56.4-0ubuntu0.18.04.6 [1171 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libglib2.0-data all 2.56.4-0ubuntu0.18.04.6 [4540 B]
Get:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libicu60 amd64 60.2-3ubuntu3.1 [8054 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libxml2 amd64 2.9.4+dfsg1-6.1ubuntu1.3 [663 kB]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 shared-mime-info amd64 1.9-2 [426 kB]
Get:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic/main amd64 xdg-user-dirs amd64 0.17-1ubuntu1 [48.0 kB]
Fetched 10.4 MB in 2s (6449 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libglib2.0-0:amd64.
(Reading database ... 16188 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.56.4-0ubuntu0.18.04.6_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.6) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../1-libglib2.0-data_2.56.4-0ubuntu0.18.04.6_all.deb ...
Unpacking libglib2.0-data (2.56.4-0ubuntu0.18.04.6) ...
Selecting previously unselected package libicu60:amd64.
Preparing to unpack .../2-libicu60_60.2-3ubuntu3.1_amd64.deb ...
Unpacking libicu60:amd64 (60.2-3ubuntu3.1) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../3-libxml2_2.9.4+dfsg1-6.1ubuntu1.3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.3) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../4-shared-mime-info_1.9-2_amd64.deb ...
Unpacking shared-mime-info (1.9-2) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../5-xdg-user-dirs_0.17-1ubuntu1_amd64.deb ...
Unpacking xdg-user-dirs (0.17-1ubuntu1) ...
Setting up libicu60:amd64 (60.2-3ubuntu3.1) ...
Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.6) ...
No schema files found: doing nothing.
Setting up libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.3) ...
Setting up libglib2.0-data (2.56.4-0ubuntu0.18.04.6) ...
Setting up shared-mime-info (1.9-2) ...
Setting up xdg-user-dirs (0.17-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@964b4397ffef:/workspace# ls
root@964b4397ffef:/workspace# cd /
root@964b4397ffef:/# exit
(base) xutengfei@xutengfei-G3-3579:~$ docker commit -m='python for cv cu101' -a='xutengfei' 964b4397ffef python_cv_cu101:detectron2
sha256:d5615c5a9ea9462777c7285b5384df2e613ff29747311599cca21ab3221397f7
(base) xutengfei@xutengfei-G3-3579:~$
到最后我采用了cu100,可惜的是,这次热身赛没能来得及提交这个结果。因此,我不清楚他是否能够运行到底。
总之,注意几点:
aliyun nvidia版本给的似乎不太准确,他说是410.79,但是我用cuda10.0上去仍然报错。
第二,不要在像这样自己造镜像(或许只是因为版本还不对应),提交失败的风险很大,可以拉取阿里云公共的。