Coder Social home page Coder Social logo

Comments (3)

emgucv avatar emgucv commented on August 22, 2024

Hi John. Tensorflow only support 64-bit on Windows. It cannot be compiled into 32bit binary (for windows).

Our Emgu TF release package detect if the compiled target target x86 or AnyCPU. If so, they will get an runtime error (PInvoke exception). If you compile a binary to target AnyCPU, and deploy it to a machine that use an x86 CPU, e.g. certain low-end windows tablet even though it is rare, it will try to run in x86 mode and result in the run time error. The error message is there to prevent that.

Please set the compilation target to x64 to avoid the compile time error message. Note that you need to set the project configuration to x64, not the solution configuration. You can have the solution configuration set to anything, as long as the project the configuration under that particular solution configuration is set to x64 you will be good to go.

Open CV can be compiled to target x86 and x64. Emgu CV package contains both x86 and x64 binary. As a result, we do not need to check if the project target x86 or x64. It will work in both modes.

from emgutf.

JohnTenney avatar JohnTenney commented on August 22, 2024

My application is pure 64-bit. I do compile in AnyCpu mode. Yet I was getting the x86 error. If you are able to remove the check in your package for 64 bit, it will probably work fine.

from emgutf.

emgucv avatar emgucv commented on August 22, 2024

The current nuget runtime package (v2.6.0) no longer check for platform targets through build task. Closing ticket now.

from emgutf.

Related Issues (20)

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.