tusen-ai / simpledet

A Simple and Versatile Framework for Object Detection and Instance Recognition
Apache License 2.0
3.08k stars 488 forks source link

Error in make. recipe for target 'group_norm_helper_gpu.o' failed #193

Closed SimpleXP closed 5 years ago

SimpleXP commented 5 years ago

Hi,

When I try to install from scratch, I encounter this error:

src/operator/contrib/group_norm_helper.cu(332): error: namespace "std" has no member "accumulate"

src/operator/contrib/group_norm_helper.cu(333): error: namespace "std" has no member "accumulate"

2 errors detected in the compilation of "/tmp/tmpxft_0000049a_00000000-8_group_norm_helper.compute_70.cpp1.ii". Makefile:544: recipe for target 'build/src/operator/contrib/group_norm_helper_gpu.o' failed make: [build/src/operator/contrib/group_norm_helper_gpu.o] Error 1 make: Waiting for unfinished jobs....

Could you advise what should I do to solve it? Thanks in advance.

SimpleXP commented 5 years ago

Is it because the gcc version? My gcc version is 7.4. I have successfully install simpledet in another workstation, the gcc version is 5.4.

RogerChern commented 5 years ago

Your guess is reasonable. We only tested the compiling on Ubuntu 16.04 which is bundled with gcc 5.4.