Coder Social home page Coder Social logo

classify's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

classify's Issues

Where did you get the models from?

If I may ask,

where did you get the models_VGGNet_coco_SSD_512x512 for example from?
This might be a noobish question but I am usually able to find the weights and prototxt but can’t find the corresponding coco_types.txt.

Got error while starting caffe_io.cpp line 1165

i got this error while running command node app.js on Ubuntu

/home/ubuntu/BodySizing/node_modules/esm/esm.js:1 const __global__ = this;(function (require, module, __shared__) { var __shared__;const e=module,t={Array:global.Array,Buffer:global.Buffer,Error:global.Error,EvalError:global.EvalError,Function:global.Function,JSON:global.JSON,Object:global.Object,Promise:global.Promise,RangeError:global.RangeError,ReferenceError:global.ReferenceError,Reflect:global.Reflect,SyntaxError:global.SyntaxError,TypeError:global.TypeError,URIError:global.URIError,eval:global.eval},r=global.console;module.exports=(function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.d=function(e,t,r){Reflect.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})},r.n=function(e){return e.a=e,function(){return e}},r(r.s=2)})([(function(e,t){var r;t=e.exports=$,"object"==typeof process&&process,r=function(){},t.SEMVER_SPEC_VERSION="2.0.0";var i=256,n=Number.MAX_SAFE_INTEGER||900719925474099 ReadNetFromCaffe - OpenCV Error: (FAILED: ReadProtoFromBinaryFile(param_file, param). Failed to parse NetParameter file: /home/ubuntu/BodySizing/myengine/classify-master/models/models_VGGNet_coco_SSD_300x300/VGG_coco_SSD_300x300_iter_400000.caffemodel) in ReadNetParamsFromBinaryFileOrDie, in file /home/ubuntu/BodySizing/node_modules/opencv-build/opencv/opencv/modules/dnn/src/caffe/caffe_io.cpp, line 1165, status -2

unable to run examples

I followed instructions to install https://github.com/justadudewhohacks/opencv4nodejs#how-to-install.

But when I try to run the first example
classify --image ./images/test/bicycle.jpg --quick

I get the following error
~/Working/research_ws/nodejs/classify/index.js:357 net = cv.readNetFromCaffe(prototxt, modelFile) ^ ReadNetFromCaffe - OpenCV Error: (FAILED: ReadProtoFromBinaryFile(param_file, param). Failed to parse NetParameter file: ~/Working/research_ws/nodejs/classify/models/models_VGGNet_coco_SSD_300x300/VGG_coco_SSD_300x300_iter_400000.caffemodel) in ReadNetParamsFromBinaryFileOrDie, in file ~/Working/research_ws/nodejs/classify/node_modules/opencv-build/opencv/opencv/modules/dnn/src/caffe/caffe_io.cpp, line 1165, status -2

my system details:
OS: High Sierra
Node: v10.14.1
Npm: 6.4.1

Please help

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.