Git Product home page Git Product logo

baxter_learning's People

Contributors

mathieu-seurin avatar tlesort avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

baxter_learning's Issues

Error when batch size=2 and Epoch=1

Small issue I think, but at the sixth step of cross-validation, there is a error when batch size is set at 2 and epoch at 1:

    bad argument #3 to '?' (torch.*Tensor expected, got nil)
    stack traceback:
[C]: at 0x7fe40a31e0d0
[C]: in function '__newindex'
/home/tim/Baxter_Learning/functions.lua:122: in function 'getRandomBatch'
script.lua:118: in function 'train_Epoch'
script.lua:161: in main chunk
[C]: in function 'dofile'
[string "_RESULT={dofile('script.lua')}"]:1: in main chunk
[C]: in function 'xpcall'
/home/tim/torch/install/share/lua/5.1/trepl/init.lua:661: in function 'repl'
.../tim/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: at 0x00405d50

Cheers

Issue with gnuplot

Hi,
I have a problem with gnuplot at :

printing.lua:92: in function 'show_figure'
script.lua:94: in function 'train_Epoch'
script.lua:161: in main chunk

The error is :

cannot open </usr/bin/gnuplot -persist > /dev/null 2>&1> in mode w. This might be because eg the executable doesn't exist, but it could also be because you are out of memory. at /home/tim/torch/pkg/torch/lib/TH/THDiskFile.c:774

stack traceback:
[C]: at 0x7fa00da4ebe0
[C]: in function 'PipeFile'
/home/tim/torch/install/share/lua/5.1/gnuplot/gnuplot.lua:134: in function 'getfigure'
/home/tim/torch/install/share/lua/5.1/gnuplot/gnuplot.lua:747: in function 'filefigure'
/home/tim/torch/install/share/lua/5.1/gnuplot/gnuplot.lua:754: in function 'epsfigure'
/home/tim/torch/install/share/lua/5.1/optim/Logger.lua:180: in function 'plot'
/home/tim/Baxter_Learning/printing.lua:92: in function 'show_figure'
script.lua:94: in function 'train_Epoch'
script.lua:161: in main chunk
[C]: in function 'dofile'
[string "_RESULT={dofile('script.lua')}"]:1: in main chunk
[C]: in function 'xpcall'
/home/tim/torch/install/share/lua/5.1/trepl/init.lua:661: in function 'repl'
.../tim/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: at 0x00405d50`

I reduced the batch size at 2.
I a m trying to figure out if it is a memory problem but with a batch size of 2 and 4 Go of video memory, it is strange.
Maybe a ram pb...

Do you have any idea? Maybe all the images should not be loaded at one time at the beginning of the program.

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.