CLRNet icon indicating copy to clipboard operation
CLRNet copied to clipboard

python setup.py build develop

Open dou1999 opened this issue 2 years ago • 4 comments

image 当我运行setup.py安装nms_impl等包时,一直报错: /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object __p->_M_set_sharable(); ~~~~~~~~~^~ 网上说是因为CUDA10.1的问题,但因为是公用服务器没有权限修改CUDA版本,也无法安装nvcc,请问有其他解决方法吗?

dou1999 avatar May 19 '22 02:05 dou1999

try: pip install -r requirements.txt first

lingxuanhao avatar May 19 '22 22:05 lingxuanhao

Or maybe you can try to build docker image to use our repo. You can reference our another repo: https://github.com/Turoad/lanedet

MySuperSoul avatar May 21 '22 11:05 MySuperSoul

try:mim install mmcv-full

guoqinling avatar Jun 01 '23 08:06 guoqinling

After installing requirements.txt in autodl in a suitable environment of my choice, and entering the command python setup.py build develop, I get the following error: gcc: internal compiler error: Killed (programme cc1plus) See file:///usr/share/doc/gcc-7/README.Bugs> for instructions.error: command 'gcc' failed with exit status 4. tried the following people's commands are invalid, please tell me how to solve this situation? The article says it's out of memory, but the system and data discs have 25G of RAM, and I'm using the entire official dataset from tusimple, which is about 22G in total. image

我在autodl中选择合适的环境中,安装完requirements.txt后,输入命令python setup.py build develop后,报错如下:gcc: internal compiler error: Killed (program cc1plus)See file:///usr/share/doc/gcc-7/README.Bugs> for instructions.error: command 'gcc' failed with exit status 4。试过评论区中朋友的命令mim install mmcv-full,显示无效,请问这种情况要怎样解决呢?相关文章说是内存不足,但是系统盘和数据盘有25G的内存呀,我用的是tusimple的全部官方数据集,一共22G左右。

awslhh8 avatar Jan 22 '24 06:01 awslhh8