Giter Site home page Giter Site logo

Comments (4)

TreeLLi avatar TreeLLi commented on July 28, 2024 1

For anyone who are troubled by the case 2, i.e. the corresponding binaries have been already put into the proper directory but still get the error of 'Not Found', you should rename the binaries as below:

  1. cpu_nms.cpython-35m.so as cpu_nms.so
  2. cython_bbox.cpython-35m.so as cython_bbox.so

this solution is found from others' discussion

from cntk-hotel-pictures-classificator.

karolzak avatar karolzak commented on July 28, 2024

Hi @TreeLLi,

First off, thanks for stoping by! :)
I must say I haven't tested it on Linux really.. I know there used to be some missing Cython modules in CNTK for Linux with Python version different from 3.4 but from what I know they added the modules to original CNTK repo few months ago.
From what I understand from your second comment you already found a solution for that issue.
And I think I know what caused it..
If you take a look at imports of this file in utils/nms:
from utils.cython_modules.cpu_nms import cpu_nms
This line works perfectly on Windows but it seems like it's causing some issues on Linux..

from cntk-hotel-pictures-classificator.

TreeLLi avatar TreeLLi commented on July 28, 2024

Thanks for your explanation.

The problem has been addressed perfectly. But I still think including the latest cython binaries in your directory will be a good idea, since it's not like a problem of missing some external library e.g. easydict. Besides, currently the solution is not such easy to find, for people have to combine the info from CNTK website and others' issue discussion.

So updating the cython module or pointing it out clearly in the Readme file will be super friendly to some beginners specifically for CNTK Faster-RCNN.

from cntk-hotel-pictures-classificator.

karolzak avatar karolzak commented on July 28, 2024

@TreeLLi that's very accurate! Thanks for feedback!
I will add missing cython libraries and I'll try to add some sort of if statement automatically loading up the appropriate cython libs depending on OS and Python version

from cntk-hotel-pictures-classificator.

Related Issues (10)

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.