Open crazyblacker opened 5 years ago
@Iamanorange
Thank you for your reply. I have add -DNDEBUG to CFLAGS like this:
CFLAGS += -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__ -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG
but it isn't helpful. Maybe upgrading from Cuda 8 to 9 can be useful, but I am running my codes on the college's server and don't have root permissions . Is there any other way to resolve the error like modifying Makefile?
If you still get error: expression must have a constant value
, it has no relevance with CUDA.
If you get error: identifier "__shfl" is undefined
, I have no idea. Both Docker and Anaconda need root permissions.
Hi,everyone: I am a young graduate student studying video object segmentation. I want to generate some optical flow images as inputs of my net. I have taken two or three days to fix bugs. Now, there is only one bug. But I can not find any useful information to resolve it, please help me. The information for this error when make all is as follows:
/home/songhuihui/usrs/wanglong/flownet2-tf-master/flo-tf-2.7-env/local/lib/python2.7/site-packages/tensorflow/include/absl/strings/str_cat.h(267): error: expression must have a constant value