When I running "pyhton train.py ", we will meet a mistake "AttributeError: module 'provider' has no attribute 'rotate_point_cloud'"
This is my mistake , I hope someone can help me solve it. `(pcc) allan@allan:~/Allan/pointnet2-master$ python train.py pid: 6083 WARNING:tensorflow:From /home/allan/anaconda3/envs/pcc/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version. Instructions for updating: Colocations handled automatically by placer.
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:
- https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
- https://github.com/tensorflow/addons If you depend on functionality not listed there, please file an issue.
WARNING:tensorflow:From /home/allan/Allan/pointnet2-master/utils/pointnet_util.py:127: calling reduce_max_v1 (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
WARNING:tensorflow:From /home/allan/Allan/pointnet2-master/utils/tf_util.py:613: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.
Instructions for updating:
Please use rate instead of keep_prob. Rate should be set to rate = 1 - keep_prob.
WARNING:tensorflow:From train.py:129: to_int64 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
--- Get training operator
WARNING:tensorflow:From /home/allan/anaconda3/envs/pcc/lib/python3.6/site-packages/tensorflow/python/ops/math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
WARNING:tensorflow:From /home/allan/anaconda3/envs/pcc/lib/python3.6/site-packages/tensorflow/python/ops/math_grad.py:102: div (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Deprecated in favor of operator or tf.math.divide.
2019-11-01 21:06:46.056311: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2019-11-01 21:06:46.086952: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2494240000 Hz
2019-11-01 21:06:46.088411: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x55ac67eeab60 executing computations on platform Host. Devices:
2019-11-01 21:06:46.088454: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0):
AttributeError: module 'provider' has no attribute 'rotate_point_cloud'
`
@Allan-Xu I met the same problem, because I have installed another package also called "provider". Changing the filename of utils/provider.py works for me.