pointCNN

https://github.com/yangyanli/PointCNN
编译过程中的坑:
tf_sampling.cpp:6:42: fatal error: tensorflow/core/framework/op.h: 没有那个文件或目录

/bin/bash

PYTHON=python3
CUDA_PATH=/usr/local/cuda-9.0
TF_LIB=PYTHON -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())')
PYTHON_VERSION=PYTHON -c 'import sys; print("%d.%d"%(sys.version_info[0], sys.version_info[1]))')
TF_PATH=/home/emg/anaconda3/lib/python3.6/site-packages/tensorflow/include

TF_PATH=/usr/local/lib/python3.6/dist-packages/tensorflow/include

TF_PATH=/anaconda3/lib/python$PYTHON_VERSION/site-packages/tensorflow/include/tensorflow

TF_LIB -ltensorflow_framework -I TF_PATH -I CUDA_PATH/lib64/ -O2 -D_GLIBCXX_USE_CXX11_ABI=0

你可能感兴趣的:(pointCNN)