-
Notifications
You must be signed in to change notification settings - Fork 366
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
tf_sampling_so.so error while training #223
Comments
@NiranjanRavi1993 : Please check this issue, i could compile using this step. I am not sure about 3.6 python as author has advised to downgrade to 3.5, and it worked for me. |
@sayakgis Hi, thank you for your reply. I tried the steps in the link you mentioned. Still, the same issue persists. I created new environments and tried above. Still did not work. Is there any wrong in the way I am trying? Or the combination of versions is an issue? .sh script file: Thank you |
Could you please elaborate on what error you are getting? |
@sayakgis /home/iot/anaconda3/envs/test/PointCNN/data_utils.py:162: H5pyDeprecationWarning: The default file mode will change to 'r' (read-only) in h5py 3.0. To suppress this warning, pass the mode you need to h5py.File(), or set the global default h5.get_config().default_file_mode, or set the environment variable H5PY_DEFAULT_READONLY=1. Available modes are: 'r', 'r+', 'w', 'w-'/'x', 'a'. See the docs for details. |
did the tf_compile.sh create tf_sampling_so.so? i can upload the so file if u need, it is on cuda-9.2. |
Hi @sayakgis , I realized my mistake. I was able to generate tf_sampling_so.so and utilize it. Now training is successful to some part with my custom datasets. Thank you for your help. |
Thanks for the update, which set-up/environment did work for you? Wanted to ask this for information of broader audience. |
Yes, This is the setup I had. All I had to do was, run tf_compile.sh and start training my model. It worked perfectly fine. |
Hi,
I followed the steps in the Semantic3d dataset and used a custom dataset to train. I was able to create .h5 and all steps were successful. But when I run,
./train_val_semantic3d.sh -g 0 -x semantic3d_x4_2048_fps :
inside models/seg -> the log file shows the following error:
tf_sampling_so.so: cannot open shared object file: No such file or directory
I checked the existing issues (charlesq34/pointnet2#48) and made changes to Pointcnn/sampling/tf_sampling_compiler.sh but still did not work.
I am using the TensorFlow version = 1.15, python 3.6, conda environment(Used pip command to install tf as mentioned in one of the issues. Still didn't work)
Any help on how to resolve this issue?
Regards
Niranjan
The text was updated successfully, but these errors were encountered: