It seems that the construction of a N2D2::GnuPlot::GnuPlot object causes the error because the popen function returns NULL value.
Therefore, I print the strerror(errno) resulting in this issue and I have the following message : Cannot allocate memory
After some researches it seems that the fork function called by the popen is the only one that can generate this kind of error, so it make me think that it's maybe a configuration issue.
Configuration
I'm currently working into a Centos7 VM with the following configuration :
RAM : 8192Mo
Processors : 4 of Intel(R) Core(TM) i7-8650 CPU 1.9GHz 2.11 GHz
Hard Drive : 100Go
Conclusions
This error seems to be a configuration error because the training of mnist24_16c4s2_24c5s2_150_10 model works perfectly fine.
On the ResNet models (18 and 50) error are thrown on the Utils::exec function where popen returns NULL too, so it comforts me in the idea that it's a configuration problem.
Here is an archive with the ini file I used : ResNet-mini.zip
Hello everyone, I'm currently facing an issue that I don't understand so much.
Issue
I'm trying to train a ResNet with N2D2 and I have the following error :
Couldn't open connection to gnuplot (is it in the PATH?)
Debug
Then I try to understand why this error is raised :
It seems that the construction of a N2D2::GnuPlot::GnuPlot object causes the error because the
popen
function returnsNULL
value.Therefore, I print the
strerror(errno)
resulting in this issue and I have the following message :Cannot allocate memory
After some researches it seems that the
fork
function called by thepopen
is the only one that can generate this kind of error, so it make me think that it's maybe a configuration issue.Configuration
I'm currently working into a Centos7 VM with the following configuration :
Conclusions
This error seems to be a configuration error because the training of
mnist24_16c4s2_24c5s2_150_10
model works perfectly fine.On the
ResNet
models (18 and 50) error are thrown on theUtils::exec
function wherepopen
returnsNULL
too, so it comforts me in the idea that it's a configuration problem.Here is an archive with the
ini
file I used : ResNet-mini.zipDid you face this issue before ?