machine learning - when I use facebook tools:deekmask, some errors came out and I can't find that's why -
i installed proper packages, such as: torch, cocoapi, cudnn, cunn etc. , deployed deepmask correspondingly.
but, when training model, typing: th train.lua
, errors follows:
xavier@xavier-thunderobot:/desired/absolute/path/to/deepmask$ th train.lua -- ignore option rundir -- ignore option dm -- ignore option reload -- ignore option gpu -- ignore option datadir | running in directory /desired/absolute/path/to/deepmask/exps/deepmask/exp | number of paramaters trunk: 15198016 | number of paramaters mask branch: 1608768 | number of paramaters score branch: 526337 | number of paramaters total: 17333121 /home/xavier/torch/install/bin/luajit: ...e/xavier/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 2 callback] /home/xavier/torch/install/share/lua/5.1/coco/cocoapi.lua:126: assertion failed! stack traceback: [c]: in function 'assert' /home/xavier/torch/install/share/lua/5.1/coco/cocoapi.lua:126: in function '__init' /home/xavier/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/xavier/torch/install/share/lua/5.1/torch/init.lua:87> [c]: in function 'cocoapi' /desired/absolute/path/to/deepmask/datasampler.lua:25: in function '__init' /home/xavier/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/xavier/torch/install/share/lua/5.1/torch/init.lua:87> [c]: in function 'datasampler' /desired/absolute/path/to/deepmask/dataloader.lua:36: in function </desired/absolute/path/to/deepmask/dataloader.lua:30> [c]: in function 'xpcall' ...e/xavier/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback' /home/xavier/torch/install/share/lua/5.1/threads/queue.lua:65: in function </home/xavier/torch/install/share/lua/5.1/threads/queue.lua:41> [c]: in function 'pcall' /home/xavier/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob' [string " local queue = require 'threads.queue'..."]:13: in main chunk stack traceback: [c]: in function 'error' ...e/xavier/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob' ...e/xavier/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize' ...e/xavier/torch/install/share/lua/5.1/threads/threads.lua:142: in function 'specific' ...e/xavier/torch/install/share/lua/5.1/threads/threads.lua:125: in function 'threads' /desired/absolute/path/to/deepmask/dataloader.lua:40: in function '__init' /home/xavier/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/xavier/torch/install/share/lua/5.1/torch/init.lua:87> [c]: in function 'dataloader' /desired/absolute/path/to/deepmask/dataloader.lua:21: in function 'create' train.lua:101: in main chunk [c]: in function 'dofile' ...vier/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [c]: @ 0x00405d50
pls me, much!
i figure out myself!
the $deepmask dir need high authority access before, chmod 777 -r $deepmask
, problem solved.
Comments
Post a Comment