hasanari/sane

Tensorflow 2.4.0 ( tf has no attribute placeholder)

Opened this issue · 1 comments

I am running the tool with all the the requirements installed along with tensorflow-gpu=2.4.0, However, I get an error
for the following line

Placeholders

indices = tf.placeholder(tf.int32, shape=(batch_size, None, 2), name="indices")
is_training = tf.placeholder(tf.bool, name='is_training')
pts_fts = tf.placeholder(tf.float32, shape=(batch_size, max_point_num, setting.data_dim), name='points')
######################################################################

It seems the file "predicting_point_segmentation.py" still uses a functionality of tensoflow 1.X .
Could you please suggest a fix?

You have to change version of tensorflow-gpu to 1.7.0. It is best to look to closed pull-requests and see what bot updated and to change it back.