windows pytorch maskrcnn_benchmask安装

主要参考:
环境搭建:https://www.cnblogs.com/zhouzhiyao/p/11784055.html
官方安装文档: https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/INSTALL.md

在conda安装pytorch的过程中,假如下载比较慢的话。添加清华源。
https://blog.csdn.net/werdery/article/details/104866515

cuda历史版本
https://developer.nvidia.com/cuda-toolkit-archive
https://developer.nvidia.com/cuda-downloads

cuda安装
https://www.cnblogs.com/arxive/p/11198420.html

编译apex过程中发现
cpp_extension.py:189: UserWarning: Error checking compiler version for cl…
https://blog.csdn.net/tanmx219/article/details/100829920

报错:“AT_CHECK“ is undefined
https://blog.csdn.net/isunLt/article/details/109169409

D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/include\type_traits(1271): error: static assertion failed with “You’ve instantiated std::aligned_storage<Len, Align> with an extended alignment (in other words, Align > alignof(max_align_t)). Before VS 2017 15.8, the member type would non-conformingly have an alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (only for uses of aligned_storage with extended alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conformant behavior.”

https://blog.csdn.net/jiqiren_dasheng/article/details/88684370
这个要加宏定义
https://blog.csdn.net/hktxt/article/details/107543435
修改 setup.py (124行) to version_dependent_macros = version_ge_1_1 + version_ge_1_3 + version_ge_1_5 + [’-D_ENABLE_EXTENDED_ALIGNED_STORAGE’]

: ‘list’ object has no attribute ‘resize’
https://blog.csdn.net/zhidao101/article/details/103696113

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值