-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run on google colab #183
Comments
Navigate to the tf_ops directory, and you'll see 3 folders, sampling, 3d_interpolation, and grouping. There is a bash file in each folder. Open them, modify the cuda and Python path according to your setup, and run the bash files. |
Hi, were anybody able to run Pointnet++ recently in Google colab? Google colab is currently running tensorflow version 1.x = 1.15.2. TF_LIB=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())') But, linux-vdso.so.1 (0x00007ffde3dd6000) I have added libtensorflow_framework.so.1 path to LD_LIBRARY_PATH using: !ldd tf_sampling_so.so then gives me this: There is libtensorflow_framework.so.1 available in the list but not libtensorflow_framework.so, is that fine? if I run train.py, I still have this error: /content/gdrive/My Drive/pointnet2-master/train.py in () 10 frames /tensorflow-1.15.2/python3.7/tensorflow_core/python/framework/load_library.py in load_op_library(library_filename) NotFoundError: libtensorflow_framework.so: cannot open shared object file: No such file or directory Can anybody please help me with this? |
Hello, I am finally able to successfully train Pointnet++ in Google colab: I referred to #142 commands shared by sheshap Here is my tf_sampling_compile.sh content: CUDA_INC='/usr/local/cuda-11.0/include' TF_CFLAGS=$(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') g++ -std=c++11 -shared tf_sampling.cpp tf_sampling_g.cu.o -o tf_sampling_so.so -fPIC ${TF_CFLAGS[@]} ${TF_LFLAGS[@]} -I$CUDA_INC -lcudart -L$CUDA_LIB -O2 -D_GLIBCXX_USE_CXX11_ABI=0 |
@manishmaruthi Your sampling script really helped I'm trying to do the same (same error with ltensorflow framework), did you encounter an error "Cannot feed value of shape (16, 1024, 6) for Tensor 'Placeholder:0', which has shape '(16, 1024, 3))" After attempting train.py? |
Problem solved, was due to data type |
I have tried this but still it can't find the tf_sampling_so.so tensorflow.python.framework.errors_impl.NotFoundError: /content/user/pointnet2/tf_ops/sampling/tf_sampling_so.so: cannot open shared object file: No such file or directory Pls help!!! |
HEllo. Can you share your colab ipynb? |
Is there anyone who successfully run pointnet2 on google colab? I don't have GPU so try to run on google colab but I got this error.
tensorflow.python.framework.errors_impl.NotFoundError: /content/pointnet2/tf_ops/sampling/tf_sampling_so.so: cannot open shared object file: No such file or directory
It would be very great if someone share the colab notebook.
Thank you.
The text was updated successfully, but these errors were encountered: