Coder Social home page Coder Social logo

Comments (3)

shrubb avatar shrubb commented on July 28, 2024

Changed loading code a bit, could you try now?

from torch-opencv-demos.

kaisark avatar kaisark commented on July 28, 2024

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

torch gif-downsized_large

from torch-opencv-demos.

shrubb avatar shrubb commented on July 28, 2024

Yes, if it runs, I think the message can be ignored safely.

from torch-opencv-demos.

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.