zoukankan      html  css  js  c++  java
  • ubuntu Anaconda Pytorch 编译安装Detectron2

    ubuntu Anaconda Pytorch 编译安装Detectron2

    star@xmatrix:~/Detectron2$ git clone https://github.com/facebookresearch/detectron2.git
    star@xmatrix:~/Detectron2$ source activate wind2
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ ls
    detectron2-master  detectron2-master.zip
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ cd detectron2-master
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ ls
    configs   demo        dev     docs                INSTALL.md  MODEL_ZOO.md  README.md  setup.py  tools
    datasets  detectron2  docker  GETTING_STARTED.md  LICENSE     projects      setup.cfg  tests
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ 
    (wind2) star@xmatrix:~/Detectron2/detectron2-master$ cd ../
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ python -m pip install -e detectron2-master
    Obtaining file:///home/star/Detectron2/detectron2-master
    Processing /home/star/.cache/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6/termcolor-1.1.0-cp36-none-any.whl
    Collecting Pillow>=7.1
      Downloading https://files.pythonhosted.org/packages/30/bf/92385b4262178ca22b34f82e0e09c2922eb351fe39f3cc7b8ba9ea555b41/Pillow-7.2.0-cp36-cp36m-manylinux1_x86_64.whl (2.2MB)
         |████████████████████████████████| 2.2MB 189kB/s 
    Collecting yacs>=0.1.6
      Downloading https://files.pythonhosted.org/packages/38/4f/fe9a4d472aa867878ce3bb7efb16654c5d63672b86dc0e6e953a67018433/yacs-0.1.8-py3-none-any.whl
    Collecting tabulate
      Downloading https://files.pythonhosted.org/packages/c4/f4/770ae9385990f5a19a91431163d262182d3203662ea2b5739d0fcfc080f1/tabulate-0.8.7-py3-none-any.whl
    Collecting cloudpickle
      Downloading https://files.pythonhosted.org/packages/e7/e3/898487e5dbeb612054cf2e0c188463acb358167fef749c53c8bb8918cea1/cloudpickle-1.6.0-py3-none-any.whl
    Collecting matplotlib
      Downloading https://files.pythonhosted.org/packages/cd/d6/8c4dfb23151d5a494c66ebbfdb5c8c433b44ec07fae52da5939fcda0943f/matplotlib-3.3.2-cp36-cp36m-manylinux1_x86_64.whl (11.6MB)
         |████████████████████████████████| 11.6MB 8.2MB/s 
    Collecting mock
      Downloading https://files.pythonhosted.org/packages/cd/74/d72daf8dff5b6566db857cfd088907bb0355f5dd2914c4b3ef065c790735/mock-4.0.2-py3-none-any.whl
    Collecting tqdm>4.29.0
      Downloading https://files.pythonhosted.org/packages/73/d5/f220e0c69b2f346b5649b66abebb391df1a00a59997a7ccf823325bd7a3e/tqdm-4.49.0-py2.py3-none-any.whl (69kB)
         |████████████████████████████████| 71kB 6.4MB/s 
    Collecting tensorboard
      Downloading https://files.pythonhosted.org/packages/e9/1b/6a420d7e6ba431cf3d51b2a5bfa06a958c4141e3189385963dc7f6fbffb6/tensorboard-2.3.0-py3-none-any.whl (6.8MB)
         |████████████████████████████████| 6.8MB 9.4MB/s 
    Collecting fvcore>=0.1.1
      Downloading https://files.pythonhosted.org/packages/02/fb/98cd73bc5d37c3bdeb879c7bbc9e248752fe0d7319f9b8794765a0f2385f/fvcore-0.1.2.post20200912.tar.gz
    Collecting pycocotools>=2.0.2
      Downloading https://files.pythonhosted.org/packages/de/df/056875d697c45182ed6d2ae21f62015896fdb841906fe48e7268e791c467/pycocotools-2.0.2.tar.gz
    Collecting future
      Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB)
         |████████████████████████████████| 829kB 11.9MB/s 
    Collecting pydot
      Downloading https://files.pythonhosted.org/packages/33/d1/b1479a770f66d962f545c2101630ce1d5592d90cb4f083d38862e93d16d2/pydot-1.4.1-py2.py3-none-any.whl
    Requirement already satisfied: PyYAML in /home/star/anaconda3/envs/wind2/lib/python3.6/site-packages (from yacs>=0.1.6->detectron2==0.2.1) (5.2)
    Requirement already satisfied: numpy>=1.15 in /home/star/anaconda3/envs/wind2/lib/python3.6/site-packages (from matplotlib->detectron2==0.2.1) (1.18.0)
    Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
      Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
         |████████████████████████████████| 71kB 6.3MB/s 
    Collecting python-dateutil>=2.1
      Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
    Collecting certifi>=2020.06.20
      Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB)
         |████████████████████████████████| 163kB 12.8MB/s 
    Collecting cycler>=0.10
      Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
    Collecting kiwisolver>=1.0.1
      Downloading https://files.pythonhosted.org/packages/ae/23/147de658aabbf968324551ea22c0c13a00284c4ef49a77002e91f79657b7/kiwisolver-1.2.0-cp36-cp36m-manylinux1_x86_64.whl (88kB)
         |████████████████████████████████| 92kB 6.8MB/s 
    Collecting markdown>=2.6.8
      Downloading https://files.pythonhosted.org/packages/a4/63/eaec2bd025ab48c754b55e8819af0f6a69e2b1e187611dd40cbbe101ee7f/Markdown-3.2.2-py3-none-any.whl (88kB)
         |████████████████████████████████| 92kB 6.7MB/s 
    Collecting absl-py>=0.4
      Downloading https://files.pythonhosted.org/packages/b9/07/f69dd3367368ad69f174bfe426a973651412ec11d48ec05c000f19fe0561/absl_py-0.10.0-py3-none-any.whl (127kB)
         |████████████████████████████████| 133kB 11.5MB/s 
    Collecting tensorboard-plugin-wit>=1.6.0
      Downloading https://files.pythonhosted.org/packages/b6/85/5c5ac0a8c5efdfab916e9c6bc18963f6a6996a8a1e19ec4ad8c9ac9c623c/tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779kB)
         |████████████████████████████████| 788kB 12.1MB/s 
    Collecting google-auth-oauthlib<0.5,>=0.4.1
      Downloading https://files.pythonhosted.org/packages/7b/b8/88def36e74bee9fce511c9519571f4e485e890093ab7442284f4ffaef60b/google_auth_oauthlib-0.4.1-py2.py3-none-any.whl
    Requirement already satisfied: wheel>=0.26; python_version >= "3" in /home/star/anaconda3/envs/wind2/lib/python3.6/site-packages (from tensorboard->detectron2==0.2.1) (0.33.6)
    Collecting grpcio>=1.24.3
      Downloading https://files.pythonhosted.org/packages/f0/00/b393f5d0e92b37592a41357ea3077010c95400c907f6b9af01f4f6abe140/grpcio-1.32.0-cp36-cp36m-manylinux2014_x86_64.whl (3.8MB)
         |████████████████████████████████| 3.8MB 12.0MB/s 
    Collecting google-auth<2,>=1.6.3
      Downloading https://files.pythonhosted.org/packages/6b/22/f241c17eeafb8b8fcb75a13e3e438a78a0c14768936fe81800d477514afe/google_auth-1.21.2-py2.py3-none-any.whl (93kB)
         |████████████████████████████████| 102kB 7.8MB/s 
    Requirement already satisfied: six>=1.10.0 in /home/star/anaconda3/envs/wind2/lib/python3.6/site-packages (from tensorboard->detectron2==0.2.1) (1.13.0)
    Collecting werkzeug>=0.11.15
      Downloading https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298kB)
         |████████████████████████████████| 307kB 12.2MB/s 
    Requirement already satisfied: protobuf>=3.6.0 in /home/star/anaconda3/envs/wind2/lib/python3.6/site-packages (from tensorboard->detectron2==0.2.1) (3.11.2)
    Requirement already satisfied: setuptools>=41.0.0 in /home/star/anaconda3/envs/wind2/lib/python3.6/site-packages (from tensorboard->detectron2==0.2.1) (42.0.2.post20191203)
    Collecting requests<3,>=2.21.0
      Downloading https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (61kB)
         |████████████████████████████████| 71kB 6.8MB/s 
    Collecting portalocker
      Downloading https://files.pythonhosted.org/packages/89/a6/3814b7107e0788040870e8825eebf214d72166adf656ba7d4bf14759a06a/portalocker-2.0.0-py2.py3-none-any.whl
    Collecting cython>=0.27.3
      Using cached https://files.pythonhosted.org/packages/19/49/91ebe4a00bf894d08dd9680cd9dfb05936eb2848eebd9402b43885aa74cf/Cython-0.29.21-cp36-cp36m-manylinux1_x86_64.whl
    Collecting importlib-metadata; python_version < "3.8"
      Downloading https://files.pythonhosted.org/packages/8e/58/cdea07eb51fc2b906db0968a94700866fc46249bdc75cac23f9d13168929/importlib_metadata-1.7.0-py2.py3-none-any.whl
    Collecting requests-oauthlib>=0.7.0
      Downloading https://files.pythonhosted.org/packages/a3/12/b92740d845ab62ea4edf04d2f4164d82532b5a0b03836d4d4e71c6f3d379/requests_oauthlib-1.3.0-py2.py3-none-any.whl
    Collecting pyasn1-modules>=0.2.1
      Downloading https://files.pythonhosted.org/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-none-any.whl (155kB)
         |████████████████████████████████| 163kB 13.3MB/s 
    Collecting cachetools<5.0,>=2.0.0
      Downloading https://files.pythonhosted.org/packages/cd/5c/f3aa86b6d5482f3051b433c7616668a9b96fbe49a622210e2c9781938a5c/cachetools-4.1.1-py3-none-any.whl
    Collecting rsa<5,>=3.1.4; python_version >= "3.5"
      Downloading https://files.pythonhosted.org/packages/1c/df/c3587a667d6b308fadc90b99e8bc8774788d033efcc70f4ecaae7fad144b/rsa-4.6-py3-none-any.whl (47kB)
         |████████████████████████████████| 51kB 5.7MB/s 
    Collecting idna<3,>=2.5
      Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
         |████████████████████████████████| 61kB 6.4MB/s 
    Collecting chardet<4,>=3.0.2
      Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
         |████████████████████████████████| 143kB 12.6MB/s 
    Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
      Downloading https://files.pythonhosted.org/packages/9f/f0/a391d1463ebb1b233795cabfc0ef38d3db4442339de68f847026199e69d7/urllib3-1.25.10-py2.py3-none-any.whl (127kB)
         |████████████████████████████████| 133kB 11.6MB/s 
    Collecting zipp>=0.5
      Downloading https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl
    Collecting oauthlib>=3.0.0
      Downloading https://files.pythonhosted.org/packages/05/57/ce2e7a8fa7c0afb54a0581b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl (147kB)
         |████████████████████████████████| 153kB 12.5MB/s 
    Collecting pyasn1<0.5.0,>=0.4.6
      Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB)
         |████████████████████████████████| 81kB 7.3MB/s 
    Building wheels for collected packages: fvcore, pycocotools, future
      Building wheel for fvcore (setup.py) ... done
      Created wheel for fvcore: filename=fvcore-0.1.2.post20200912-cp36-none-any.whl size=43996 sha256=9ad5129c5d1bf73395e02f41981c6e6023802ecb92ec1852aaad1ffec0ecde38
      Stored in directory: /home/star/.cache/pip/wheels/34/41/7b/f0a0b5800bea0474ae553342bde52093fdd5852764463aa2ec
      Building wheel for pycocotools (setup.py) ... done
      Created wheel for pycocotools: filename=pycocotools-2.0.2-cp36-cp36m-linux_x86_64.whl size=282919 sha256=0289028d8000c27a957db328362923bd6e644f98f28852bf5a432ec35b4fad49
      Stored in directory: /home/star/.cache/pip/wheels/68/a5/e7/56401832f23d0b2db351c5b682e466cb4841960b086da65e4e
      Building wheel for future (setup.py) ... done
      Running setup.py clean for future
    Successfully built fvcore pycocotools
    Failed to build future
    Installing collected packages: termcolor, Pillow, yacs, tabulate, cloudpickle, pyparsing, python-dateutil, certifi, cycler, kiwisolver, matplotlib, mock, tqdm, zipp, importlib-metadata, markdown, absl-py, tensorboard-plugin-wit, pyasn1, pyasn1-modules, cachetools, rsa, google-auth, idna, chardet, urllib3, requests, oauthlib, requests-oauthlib, google-auth-oauthlib, grpcio, werkzeug, tensorboard, portalocker, fvcore, cython, pycocotools, future, pydot, detectron2
      Found existing installation: certifi 2019.11.28
        Uninstalling certifi-2019.11.28:
          Successfully uninstalled certifi-2019.11.28
        Running setup.py install for future ... done
      Running setup.py develop for detectron2
    Successfully installed Pillow-7.2.0 absl-py-0.10.0 cachetools-4.1.1 certifi-2020.6.20 chardet-3.0.4 cloudpickle-1.6.0 cycler-0.10.0 cython-0.29.21 detectron2 future-0.18.2 fvcore-0.1.2.post20200912 google-auth-1.21.2 google-auth-oauthlib-0.4.1 grpcio-1.32.0 idna-2.10 importlib-metadata-1.7.0 kiwisolver-1.2.0 markdown-3.2.2 matplotlib-3.3.2 mock-4.0.2 oauthlib-3.1.0 portalocker-2.0.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycocotools-2.0.2 pydot-1.4.1 pyparsing-2.4.7 python-dateutil-2.8.1 requests-2.24.0 requests-oauthlib-1.3.0 rsa-4.6 tabulate-0.8.7 tensorboard-2.3.0 tensorboard-plugin-wit-1.7.0 termcolor-1.1.0 tqdm-4.49.0 urllib3-1.25.10 werkzeug-1.0.1 yacs-0.1.8 zipp-3.1.0
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$ 
    (wind2) star@xmatrix:~/Detectron2$

    https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md

    QQ 3087438119
  • 相关阅读:
    手动安装mysql
    spring boot 配置注入
    IOS-电话拦截
    重新入坑-IntelliJ Maven
    git使用问题
    Intelij U
    iTunes空间不足无法备份iphone的问题
    Centos7最小化安装
    实操笔记
    centos7中端口及服务对应情况(笔记)
  • 原文地址:https://www.cnblogs.com/herd/p/13698825.html
Copyright © 2011-2022 走看看