chrishkchris commented on issue #589: [WIP] hotfix on dev branch (DNNL)
URL: https://github.com/apache/singa/pull/589#issuecomment-581235041
 
 
   > @dcslin when I set up the docker container in panda5, the following error 
is encountered.
   > [ 51%] Building CXX object 
src/CMakeFiles/singa_objects.dir/model/metric/accuracy.cc.o
   > [ 51%] Building CXX object 
src/CMakeFiles/singa_objects.dir/model/updater/local_updater.cc.o
   > [ 52%] Building CXX object 
src/CMakeFiles/singa_objects.dir/model/updater/updater.cc.o
   > [ 52%] Building CXX object 
src/CMakeFiles/singa_objects.dir/model/operation/batchnorm.cc.o
   > /root/singa/src/model/operation/batchnorm.cc: In constructor 
'singa::CudnnBatchNormHandle::CudnnBatchNormHandle(float, const 
singa::Tensor&)':
   > /root/singa/src/model/operation/batchnorm.cc:246:12: error: 'transform' is 
not a member of 'std'
   >        std::transform(alg.begin(), alg.end(), alg.begin(), toupper);
   >             ^~~~~~~~~
   > src/CMakeFiles/singa_objects.dir/build.make:972: recipe for target 
'src/CMakeFiles/singa_objects.dir/model/operation/batchnorm.cc.o' failed
   > make[2]: *** 
[src/CMakeFiles/singa_objects.dir/model/operation/batchnorm.cc.o] Error 1
   > make[1]: *** [src/CMakeFiles/singa_objects.dir/all] Error 2
   > CMakeFiles/Makefile2:131: recipe for target 
'src/CMakeFiles/singa_objects.dir/all' failed
   > make: *** [all] Error 2
   > Makefile:129: recipe for target 'all' failed
   > The command '/bin/sh -c cd $HOME/singa/build && make && make install' 
returned a non-zero code: 2
   
   @dcslin @nudles Sorry, when I checked the dockerfile, I found that the 
dockerfile clones the master branch to build the code. So this error is 
unrelated to the dev branch. This first comment of this PR was not using docker 
so it reflects the dev branch. Sorry for confusion. 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to