{
  "id": 244936,
  "title": "how to install detectron2 offline?",
  "url": "/competitions/siim-covid19-detection/discussion/244936",
  "author_name": "tensor choko",
  "post_date": "2021-06-09T03:03:38.567000",
  "votes": 2,
  "comment_count": 7,
  "views": 0,
  "content": "<p>I can install detectron2 online.</p>\n<p>is someone know to how to install detectron2 offline?</p>",
  "messages": [
    {
      "id": 1341812,
      "postDate": "2021-06-09T03:03:38.567Z",
      "content": "<p>I can install detectron2 online.</p>\n<p>is someone know to how to install detectron2 offline?</p>",
      "rawMarkdown": "I can install detectron2 online.\n\nis someone know to how to install detectron2 offline?",
      "votes": 2
    },
    {
      "id": 1342195,
      "postDate": "2021-06-09T08:52:47.793Z",
      "content": "<p>i copied your notebook. and run. but its does'nt work…<br>\ndo you know why?</p>\n<hr>\n<p>WARNING: Requirement '../input/detectron2-whl/iopath-0.1.8-py3-none-any.whl' looks like a filename, but the file does not exist<br>\nProcessing /kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl<br>\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl'</p>\n<p>ERROR: Invalid requirement: '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323'<br>\nHint: It looks like a path. File '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323' does not exist.<br>\nWARNING: Requirement '../input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist<br>\nProcessing /kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl<br>\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl'</p>\n<p>WARNING: Requirement '../input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist<br>\nProcessing /kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl<br>\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl'</p>",
      "rawMarkdown": "i copied your notebook. and run. but its does'nt work...\ndo you know why?\n\n********\nWARNING: Requirement '../input/detectron2-whl/iopath-0.1.8-py3-none-any.whl' looks like a filename, but the file does not exist\nProcessing /kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl'\n\nERROR: Invalid requirement: '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323'\nHint: It looks like a path. File '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323' does not exist.\nWARNING: Requirement '../input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist\nProcessing /kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl'\n\nWARNING: Requirement '../input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist\nProcessing /kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl'\n",
      "replies": [
        {
          "id": 1342279,
          "postDate": "2021-06-09T10:14:51.177Z",
          "content": "<p>U need to download my Datasets(see Discussion), AND add to U Dataset.</p>",
          "rawMarkdown": "U need to download my Datasets(see Discussion), AND add to U Dataset.",
          "votes": 1
        },
        {
          "id": 1342383,
          "postDate": "2021-06-09T11:52:17.387Z",
          "content": "<p>thanks. it worked.  detectron2-whl-file</p>",
          "rawMarkdown": "thanks. it worked.  detectron2-whl-file",
          "votes": 1
        },
        {
          "id": 1342814,
          "postDate": "2021-06-09T18:27:43.797Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 1342828,
          "postDate": "2021-06-09T18:39:47.890Z",
          "content": "<p>When I use detectron 2 in offline mode the imports don't work. Did you solve it? <a href=\"https://www.kaggle.com/tensorchoko\" target=\"_blank\">@tensorchoko</a> <a href=\"https://www.kaggle.com/blueboy97\" target=\"_blank\">@blueboy97</a> ?</p>",
          "rawMarkdown": "When I use detectron 2 in offline mode the imports don't work. Did you solve it? @tensorchoko @blueboy97 ?"
        },
        {
          "id": 1342829,
          "postDate": "2021-06-09T18:40:09.110Z",
          "content": "<pre><code>from detectron2.structures import BoxMode\nImportError                               Traceback (most recent call last)\n&lt;ipython-input-5-f4fa7c3ba98d&gt; in &lt;module&gt;\n----&gt; 1 from detectron2.structures import BoxMode\n\n/opt/conda/lib/python3.7/site-packages/detectron2/structures/__init__.py in &lt;module&gt;\n      4 \n      5 from .instances import Instances\n----&gt; 6 from .keypoints import Keypoints, heatmaps_to_keypoints\n      7 from .masks import BitMasks, PolygonMasks, rasterize_polygons_within_box, polygons_to_bitmask\n      8 from .rotated_boxes import RotatedBoxes\n\n/opt/conda/lib/python3.7/site-packages/detectron2/structures/keypoints.py in &lt;module&gt;\n      4 import torch\n      5 \n----&gt; 6 from detectron2.layers import interpolate\n      7 \n      8 \n\n/opt/conda/lib/python3.7/site-packages/detectron2/layers/__init__.py in &lt;module&gt;\n      1 # Copyright (c) Facebook, Inc. and its affiliates.\n      2 from .batch_norm import FrozenBatchNorm2d, get_norm, NaiveSyncBatchNorm\n----&gt; 3 from .deform_conv import DeformConv, ModulatedDeformConv\n      4 from .mask_ops import paste_masks_in_image\n      5 from .nms import batched_nms, batched_nms_rotated, nms, nms_rotated\n\n/opt/conda/lib/python3.7/site-packages/detectron2/layers/deform_conv.py in &lt;module&gt;\n      8 from torch.nn.modules.utils import _pair\n      9 \n---&gt; 10 from detectron2 import _C\n     11 \n     12 from .wrappers import _NewEmptyTensorOp\n\nImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory\n</code></pre>",
          "rawMarkdown": "```\nfrom detectron2.structures import BoxMode\nImportError                               Traceback (most recent call last)\n<ipython-input-5-f4fa7c3ba98d> in <module>\n----> 1 from detectron2.structures import BoxMode\n\n/opt/conda/lib/python3.7/site-packages/detectron2/structures/__init__.py in <module>\n      4 \n      5 from .instances import Instances\n----> 6 from .keypoints import Keypoints, heatmaps_to_keypoints\n      7 from .masks import BitMasks, PolygonMasks, rasterize_polygons_within_box, polygons_to_bitmask\n      8 from .rotated_boxes import RotatedBoxes\n\n/opt/conda/lib/python3.7/site-packages/detectron2/structures/keypoints.py in <module>\n      4 import torch\n      5 \n----> 6 from detectron2.layers import interpolate\n      7 \n      8 \n\n/opt/conda/lib/python3.7/site-packages/detectron2/layers/__init__.py in <module>\n      1 # Copyright (c) Facebook, Inc. and its affiliates.\n      2 from .batch_norm import FrozenBatchNorm2d, get_norm, NaiveSyncBatchNorm\n----> 3 from .deform_conv import DeformConv, ModulatedDeformConv\n      4 from .mask_ops import paste_masks_in_image\n      5 from .nms import batched_nms, batched_nms_rotated, nms, nms_rotated\n\n/opt/conda/lib/python3.7/site-packages/detectron2/layers/deform_conv.py in <module>\n      8 from torch.nn.modules.utils import _pair\n      9 \n---> 10 from detectron2 import _C\n     11 \n     12 from .wrappers import _NewEmptyTensorOp\n\nImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory\n```"
        }
      ]
    },
    {
      "id": 1342057,
      "postDate": "2021-06-09T06:56:19.830Z",
      "content": "<p>Check my POST.<br>\n<a href=\"https://www.kaggle.com/c/siim-covid19-detection/discussion/243695\" target=\"_blank\">https://www.kaggle.com/c/siim-covid19-detection/discussion/243695</a></p>",
      "rawMarkdown": "Check my POST.\n[https://www.kaggle.com/c/siim-covid19-detection/discussion/243695](https://www.kaggle.com/c/siim-covid19-detection/discussion/243695)"
    }
  ],
  "comments": [
    {
      "id": 1342195,
      "author_name": "tensor choko",
      "author_url": "",
      "post_date": "2021-06-09T08:52:47.793000",
      "content": "<p>i copied your notebook. and run. but its does'nt work…<br>\ndo you know why?</p>\n<hr>\n<p>WARNING: Requirement '../input/detectron2-whl/iopath-0.1.8-py3-none-any.whl' looks like a filename, but the file does not exist<br>\nProcessing /kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl<br>\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl'</p>\n<p>ERROR: Invalid requirement: '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323'<br>\nHint: It looks like a path. File '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323' does not exist.<br>\nWARNING: Requirement '../input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist<br>\nProcessing /kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl<br>\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl'</p>\n<p>WARNING: Requirement '../input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist<br>\nProcessing /kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl<br>\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl'</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1342279,
          "author_name": "blueboy-97",
          "author_url": "",
          "post_date": "2021-06-09T10:14:51.177000",
          "content": "<p>U need to download my Datasets(see Discussion), AND add to U Dataset.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1342383,
          "author_name": "tensor choko",
          "author_url": "",
          "post_date": "2021-06-09T11:52:17.387000",
          "content": "<p>thanks. it worked.  detectron2-whl-file</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1342814,
          "author_name": "",
          "author_url": "",
          "post_date": "2021-06-09T18:27:43.797000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1342828,
          "author_name": "DeepUnderstanding",
          "author_url": "",
          "post_date": "2021-06-09T18:39:47.890000",
          "content": "<p>When I use detectron 2 in offline mode the imports don't work. Did you solve it? <a href=\"https://www.kaggle.com/tensorchoko\" target=\"_blank\">@tensorchoko</a> <a href=\"https://www.kaggle.com/blueboy97\" target=\"_blank\">@blueboy97</a> ?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1342829,
          "author_name": "DeepUnderstanding",
          "author_url": "",
          "post_date": "2021-06-09T18:40:09.110000",
          "content": "<pre><code>from detectron2.structures import BoxMode\nImportError                               Traceback (most recent call last)\n&lt;ipython-input-5-f4fa7c3ba98d&gt; in &lt;module&gt;\n----&gt; 1 from detectron2.structures import BoxMode\n\n/opt/conda/lib/python3.7/site-packages/detectron2/structures/__init__.py in &lt;module&gt;\n      4 \n      5 from .instances import Instances\n----&gt; 6 from .keypoints import Keypoints, heatmaps_to_keypoints\n      7 from .masks import BitMasks, PolygonMasks, rasterize_polygons_within_box, polygons_to_bitmask\n      8 from .rotated_boxes import RotatedBoxes\n\n/opt/conda/lib/python3.7/site-packages/detectron2/structures/keypoints.py in &lt;module&gt;\n      4 import torch\n      5 \n----&gt; 6 from detectron2.layers import interpolate\n      7 \n      8 \n\n/opt/conda/lib/python3.7/site-packages/detectron2/layers/__init__.py in &lt;module&gt;\n      1 # Copyright (c) Facebook, Inc. and its affiliates.\n      2 from .batch_norm import FrozenBatchNorm2d, get_norm, NaiveSyncBatchNorm\n----&gt; 3 from .deform_conv import DeformConv, ModulatedDeformConv\n      4 from .mask_ops import paste_masks_in_image\n      5 from .nms import batched_nms, batched_nms_rotated, nms, nms_rotated\n\n/opt/conda/lib/python3.7/site-packages/detectron2/layers/deform_conv.py in &lt;module&gt;\n      8 from torch.nn.modules.utils import _pair\n      9 \n---&gt; 10 from detectron2 import _C\n     11 \n     12 from .wrappers import _NewEmptyTensorOp\n\nImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory\n</code></pre>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1342057,
      "author_name": "blueboy-97",
      "author_url": "",
      "post_date": "2021-06-09T06:56:19.830000",
      "content": "<p>Check my POST.<br>\n<a href=\"https://www.kaggle.com/c/siim-covid19-detection/discussion/243695\" target=\"_blank\">https://www.kaggle.com/c/siim-covid19-detection/discussion/243695</a></p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1341812": "I can install detectron2 online.\n\nis someone know to how to install detectron2 offline?",
    "1342195": "i copied your notebook. and run. but its does'nt work...\ndo you know why?\n\n********\nWARNING: Requirement '../input/detectron2-whl/iopath-0.1.8-py3-none-any.whl' looks like a filename, but the file does not exist\nProcessing /kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/iopath-0.1.8-py3-none-any.whl'\n\nERROR: Invalid requirement: '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323'\nHint: It looks like a path. File '../input/detectron2-whl/fvcore-0.1.4.post20210323/fvcore-0.1.4.post20210323' does not exist.\nWARNING: Requirement '../input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist\nProcessing /kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/pycocotools-2.0.2-cp37-cp37m-linux_x86_64.whl'\n\nWARNING: Requirement '../input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist\nProcessing /kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl\nERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/kaggle/input/detectron2-whl/detectron2-0.3cu110-cp37-cp37m-linux_x86_64.whl'\n",
    "1342057": "Check my POST.\n[https://www.kaggle.com/c/siim-covid19-detection/discussion/243695](https://www.kaggle.com/c/siim-covid19-detection/discussion/243695)"
  }
}