Comments (3)
Changed loading code a bit, could you try now?
from torch-opencv-demos.
I did a git pull today. New code ("local net = torch.load(network_name).model:float()") update seems to run, though the "Failed to load function from bytecode" message still prints to the console (safe to ignore?).
nvidia@tegra-ubuntu:~/torch-opencv-demos/imagenet_classification$ th demo.lua camera
==> Downloading image and network
==> Loading network
Warning: Failed to load function from bytecode: (binary): cannot load incompatible bytecode^C/home/nvidia/torch/install/bin/luajit: /home/nvidia/torch/install/share/lua/5.1/nn/Container.lua:67:
In 8 module of nn.Sequential:
/home/nvidia/torch/install/share/lua/5.1/nn/THNN.lua:110: interrupted!
stack traceback:
/home/nvidia/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'SpatialConvolutionMM_updateOutput'
...ia/torch/install/share/lua/5.1/nn/SpatialConvolution.lua:79: in function <...ia/torch/install/share/lua/5.1/nn/SpatialConvolution.lua:76>
[C]: in function 'xpcall'
/home/nvidia/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/nvidia/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
demo.lua:41: in main chunk
[C]: in function 'dofile'
...idia/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x004061f0
WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/nvidia/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/nvidia/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
demo.lua:41: in main chunk
[C]: in function 'dofile'
...idia/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x004061f0
^C
from torch-opencv-demos.
Yes, if it runs, I think the message can be ignored safely.
from torch-opencv-demos.
Related Issues (20)
- How to load saved images in gallery to show the already trained person HOT 2
- File already exists in database: caffe.proto error HOT 3
- MNIST /LENET
- module 'cv' not found:No LuaRocks module found for cv
- switch on gpu HOT 1
- May be wrong code in face-recognition HOT 1
- Inconsistent README HOT 1
- Docker image
- Reason: image not found HOT 1
- having some trouble running the demo HOT 1
- age_gender_mean.t7 lost HOT 2
- "input.dims() == 4 error", How to convert Mat(2 dims) to 4 dims HOT 2
- In Live Image Classification, show percentage of each 5 most probable class names HOT 2
- How to crop a Mat ?! HOT 5
- FloatTensor have no less-than operator
- face_recognition demo: segmentation fault error HOT 5
- age_gender demo fails with segmentation fault HOT 1
- `locate haarcascade_frontalface_default.xml` HOT 3
- Unknown predict face_recognition HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torch-opencv-demos.