Mask_rcnn: In tensorflow 2.0 , tf.placeholder cannot be used.

Created on 10 Oct 2019  路  5Comments  路  Source: matterport/Mask_RCNN

Most helpful comment

Getting similar issue with tf.log

All 5 comments

Getting similar issue with tf.log

I got this issue too, perhaps requirements.txt on line 7 should be changed fromtensorflow>=1.3.0 to tensorflow==1.3.0?

Edit: I've got the demo to work by using tensorflow==1.15

Right now I have added
import tensorflow.compat.v1 as tf tf.disable_v2_behavior()

as per this instruction on TF homepage .

Not sure whats the best way though.

I tired the same. There were still some issues.
Anyway, i followed the instructions by the Owner.
It worked fine.

@ayushmankumar7 Can you let me know where are the owner's instructions. Thanks!

Was this page helpful?
0 / 5 - 0 ratings