问题描述: 编译的时候没有问题,编译完执行的时候出现
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
原因,可能是语言包支持的问题。
解决办法:
export LC_ALL="C"
参考:
解决问题: terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::
本文解决了一个在编译和运行Caffe时遇到的std::runtime_error异常问题,详细介绍了如何通过设置环境变量LC_ALL为C来避免locale::facet::_S_create_c_locale引发的错误。
1636

被折叠的 条评论
为什么被折叠?



