Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Torch data augmentation doesn't work with latest build #1134

Closed
lukeyeager opened this issue Oct 3, 2016 · 4 comments · Fixed by torch/image#196 or torch/distro#154
Closed

Torch data augmentation doesn't work with latest build #1134

lukeyeager opened this issue Oct 3, 2016 · 4 comments · Fixed by torch/image#196 or torch/distro#154
Assignees

Comments

@lukeyeager
Copy link
Member

@TimZaman looks like some API changed in image. Can you look into it? It's breaking our Travis builds:

https://travis-ci.org/NVIDIA/DIGITS/jobs/164697648

digits.webapp: ERROR: Train Torch Model: ...e/travis/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 3 callback] /home/travis/torch/install/share/lua/5.1/image/init.lua:966: bad argument #3 to 'warp' (torch.FloatTensor expected, got torch.DoubleTensor)
digits.webapp: WARNING: Train Torch Model unrecognized output: stack traceback:
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: in function 'warp'
digits.webapp: WARNING: Train Torch Model unrecognized output: /home/travis/torch/install/share/lua/5.1/image/init.lua:966: in function 'warp'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/build/NVIDIA/DIGITS/digits/tools/torch/data.lua:239: in function 'PreProcess'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/build/NVIDIA/DIGITS/digits/tools/torch/data.lua:657: in function 'nextBatch'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/build/NVIDIA/DIGITS/digits/tools/torch/data.lua:793: in function <...e/travis/build/NVIDIA/DIGITS/digits/tools/torch/data.lua:787>
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: in function 'xpcall'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback'
digits.webapp: WARNING: Train Torch Model unrecognized output: /home/travis/torch/install/share/lua/5.1/threads/queue.lua:65: in function </home/travis/torch/install/share/lua/5.1/threads/queue.lua:41>
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: in function 'pcall'
digits.webapp: WARNING: Train Torch Model unrecognized output: /home/travis/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob'
digits.webapp: WARNING: Train Torch Model unrecognized output: [string "  local Queue = require 'threads.queue'..."]:15: in main chunk
digits.webapp: WARNING: Train Torch Model unrecognized output: DIGITS Lua Error
digits.webapp: WARNING: Train Torch Model unrecognized output: stack traceback:
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: in function 'error'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/build/NVIDIA/DIGITS/digits/tools/torch/data.lua:816: in function 'waitNext'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/build/NVIDIA/DIGITS/digits/tools/torch/main.lua:755: in function 'Train'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...e/travis/build/NVIDIA/DIGITS/digits/tools/torch/main.lua:848: in main chunk
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: in function 'dofile'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...ravis/build/NVIDIA/DIGITS/digits/tools/torch/wrapper.lua:25: in function <...ravis/build/NVIDIA/DIGITS/digits/tools/torch/wrapper.lua:25>
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: in function 'xpcall'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...ravis/build/NVIDIA/DIGITS/digits/tools/torch/wrapper.lua:25: in main chunk
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: in function 'dofile'
digits.webapp: WARNING: Train Torch Model unrecognized output: ...avis/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
digits.webapp: WARNING: Train Torch Model unrecognized output: [C]: at 0x00406670
digits.webapp: ERROR: Train Torch Model task failed with error code 1
@lukeyeager
Copy link
Member Author

torch/image#189 might be the culprit?

@TimZaman
Copy link
Contributor

TimZaman commented Oct 3, 2016

Let me track it down.

On Monday, 3 October 2016, Luke Yeager notifications@github.com wrote:

Assigned #1134 #1134 to @TimZaman
https://github.com/TimZaman.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1134 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHXSRPOffOeeO-RE5JOtlLJ90Gvfkfjoks5qwV7jgaJpZM4KM-fR
.

@TimZaman
Copy link
Contributor

TimZaman commented Oct 4, 2016

Fixed once torch/image#196 is merged.

@lukeyeager
Copy link
Member Author

Fixed with torch/image#196 (and torch/distro#154).

Thanks @TimZaman!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants