torch / demos

Demos and tutorials around Torch7.
355 stars 301 forks source link

I need the rgb to yuv script, but it doesn't work. #53

Open bemoregt opened 7 years ago

bemoregt commented 7 years ago

I want to run with my own image datas.

So, I need the rgb to yuv script,

But your script doesn't work.

What's wrong in my trial?

/Users/sgi/work_torch/distro-cl/install/bin/luajit: bad argument #2 to '?' (out of range at /Users/sgi/work_torch/distro-cl/pkg/torch/generic/Tensor.c:888) stack traceback: [C]: at 0x0bf968f0 [C]: in function '__index' data.lua:148: in main chunk [C]: in function 'dofile' .../distro-cl/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x010bc4ece0