GithubHelp home page GithubHelp logo

win-cython_nms-bbox-'s Introduction

win-cython_nms-bbox-

几个常见的报错:

1.AttributeError: ‘MSVCCompiler’ object has no attribute ‘compiler_so’

2.ValueError: Buffer dtype mismatch, expected ‘int_t’ but got 'long long

3.ImportError: cannot import name ‘bbox’

4.mv: 无法获取’utils/*’ 的文件状态(stat): No such file or directory

原因分析:

1.这个问题在win7上无解,无论怎么安装vs2015还是.net什么都没用,win10上是可以的,亲测有效;

2.很多人说什么把int改成intp,毛用都没有

3.这个是纯编译问题,win7上貌似没办法编译

4.这个是编译好了会生成一个什么.so文件,但是这个文件没法复制,我也不是很懂怎么mv,这个问题linux不会发生,win7,win10都不行

针对这些问题,我的最终解决方案就是,用win10的机器编译好了常见的几个, 如bbox、cython_nms(在有的模型里import的代码名称可能不同,改个文件名就好)

win下的cpu版本,这6个文件,貌似有用的就那两个pyd文件,复制过去就好了,或者6个文件一起复制过去, 这样就不用运行此文件夹下的什么.sh文件对c++编译了,也就不用配置什么gcc之类的文件了

win-cython_nms-bbox-'s People

Contributors

liuxufenfeiya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.