Skip to content

Commit 072449f

Browse files
sanbuphyplutoyuxieRangiLyuMengzhangLIhhaAndroid
authored
[Doc]: Update FAQ about windows installation issues of pycocotools (#9292)
* [Fix]: fix wrong padding value in cached MixUp (#9259) * [Fix] Fix resume arg conflict. (#9287) * [Fix] Fix `pixel_decoder_type` discrimination in MaskFormer Head. (#9176) * [Fix] Fix pixel_decoder_type assertion in MaskFormer * use isinstance assertion * fix * fix faq * Apply suggestions from code review Co-authored-by: Haian Huang(深度眸) <[email protected]> * fix format * fix format * fix faq.md * Update docs/en/notes/faq.md Co-authored-by: Wenwei Zhang <[email protected]> * 1123 * Update faq.md * fix format Co-authored-by: plutoyuxie <[email protected]> Co-authored-by: RangiLyu <[email protected]> Co-authored-by: MengzhangLI <[email protected]> Co-authored-by: Haian Huang(深度眸) <[email protected]> Co-authored-by: Wenwei Zhang <[email protected]>
1 parent 3f6dc71 commit 072449f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/en/notes/faq.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ We list some common troubles faced by many users and their corresponding solutio
2626
1. Uninstall existing `mmcv-lite` in the environment using `pip uninstall mmcv-lite`.
2727
2. Install `mmcv` following the [installation instruction](https://mmcv.readthedocs.io/en/2.x/get_started/installation.html).
2828

29+
- "Microsoft Visual C++ 14.0 or graeter is required" during installation on Windows.
30+
31+
This error happens when building the 'pycocotools.\_mask' extension of pycocotools and the environment lacks corresponding C++ compilation dependencies. You need to download it at Microsoft officials [visual-cpp-build-tools](https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/), select the "Use C ++ Desktop Development" option to install the minimum dependencies, and then reinstall pycocotools.
32+
2933
- Using Albumentations
3034

3135
If you would like to use `albumentations`, we suggest using `pip install -r requirements/albu.txt` or

docs/zh_cn/notes/faq.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828

2929
2. 安装 `mmcv` 根据 [安装说明](https://mmcv.readthedocs.io/zh_CN/2.x/get_started/installation.html)
3030

31+
- 在 Windows 环境下安装过程中遇到 "Microsoft Visual C++ 14.0 or graeter is required" error .
32+
33+
这个错误发生在 pycotools 的 'pycocotools.\_mask' 扩展构建过程,其原因是缺少了对应 C++ 环境依赖。你需要到微软官方下载[对应工具](https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/),选择“使用 C++ 的桌面开发”选项安装最小依赖,随后重新安装 pycocotools。
34+
3135
- 使用 albumentations
3236

3337
如果你希望使用 `albumentations`,我们建议使用 `pip install -r requirements/albu.txt`

0 commit comments

Comments
 (0)