hawkeye64 / classify Goto Github PK
View Code? Open in Web Editor NEWNode-based CLI for Neural Network Image Classification via Coco model
License: MIT License
Node-based CLI for Neural Network Image Classification via Coco model
License: MIT License
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
.
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.