./batch-represent/main.lua -outDir /data-final/ -data /data-aligned/
{
data : "/data-aligned/"
imgDim : 96
cache : false
model : "/root/src/openface/models/openface/nn4.small2.v1.t7"
outDir : "/data-final/"
cuda : false
batchSize : 50
}
/data-aligned/
cache lotation: /data-aligned/cache.t7
Creating metadata for cache.
{
sampleSize :
{
1 : 3
2 : 96
3 : 96
}
split : 0
verbose : true
paths :
{
1 : "/data-aligned/"
}
samplingMode : "balanced"
loadSize :
{
1 : 3
2 : 96
3 : 96
}
}
running "find" on each class directory, and concatenate all those filenames into a single file containing all image paths for a given class
now combine all the files to a single large file
load the large concatenated list of sample paths to self.imagePath
143789 samples found.======================================== 140000/143789 ========>...] ETA: 1ms | Step: 0ms
Updating classList and imageClass appropriately
[================================================================ 9324/9324 ==========>] Tot: 41s734ms | Step: 4ms
Cleaning up temporary files
Splitting training and test sets to a ratio of 0/100
nImgs: 143789
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
Segmentation fault (core dumped)
./batch-represent/main.lua -outDir /data-final/ -data /data-aligned/ -cuda
{
data : "/data-aligned/"
imgDim : 96
cache : false
model : "/root/src/openface/models/openface/nn4.small2.v1.t7"
outDir : "/data-final/"
cuda : true
batchSize : 50
}
/root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/trepl/init.lua:383: module 'cutorch' not found:No LuaRocks module found for cutorch
no field package.preload['cutorch']
no file '/root/.luarocks/share/lua/5.1/cutorch.lua'
no file '/root/.luarocks/share/lua/5.1/cutorch/init.lua'
no file '/root/torch/install/share/lua/5.1/cutorch.lua'
no file '/root/torch/install/share/lua/5.1/cutorch/init.lua'
no file './cutorch.lua'
no file '/root/torch/install/share/luajit-2.1.0-beta1/cutorch.lua'
no file '/usr/local/share/lua/5.1/cutorch.lua'
no file '/usr/local/share/lua/5.1/cutorch/init.lua'
no file '/root/.luarocks/lib/lua/5.1/cutorch.so'
no file '/root/torch/install/lib/lua/5.1/cutorch.so'
no file '/root/torch/install/lib/cutorch.so'
no file './cutorch.so'
no file '/usr/local/lib/lua/5.1/cutorch.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/root/torch/install/share/lua/5.1/trepl/init.lua:383: in function 'require'
./batch-represent/main.lua:22: in main chunk
[C]: in function 'dofile'
/root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
-> What BLAS library are you using?
I use the docker version of Openface. I will check tomorrow and report back.
Domi
BLAS : Program is Terminated. Because you tried to allocate too many memory regions.
luarocks install cunn
luarocks install cutorch
Loading embeddings.
-rw-r--r-- 1 root root 8.5M Mar 23 21:54 labels.csv
-rw-r--r-- 1 root root 321M Mar 23 21:54 reps.csv
-> server was unresponsive in the morning. Trying now the train part with 8 core and 16GB RAM
export OPENBLAS_NUM_THREADS=1
export GOTO_NUM_THREADS=1
export OMP_NUM_THREADS=1