Git Product home page Git Product logo

mask-rcnn-tf-2.0's People

Contributors

soonmok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mask-rcnn-tf-2.0's Issues

How to use the tool?

I want to ask a silly question as to how to use this tool to fix the masked rcnn? I do not see setup.py in it. Thanks

Error in compile function of model.py.

Hi,

Thanks for your good work.

I came across your repository and thought of replacing existing MRCNN (by MatterPort) with yours. So I firked it and made some changes to make it a drop-in replacement. I am stuck with the following error: Now the line number might be slightly different from the one in your code but not too much.

I thought of creating an issue here while I try to find solution (I have little experience in TF 2.0).

Thanks

File "/code/third-party/mask-rcnn-tf-2.0/mrcnn/model.py", line 570, in train
self.compile(learning_rate, self.config.LEARNING_MOMENTUM)
File "/code/third-party/mask-rcnn-tf-2.0/mrcnn/model.py", line 388, in compile
if tf.reduce_any(input_tensor=[layer.output is loss for loss in self.keras_model.losses]):
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 765, in bool
self._disallow_bool_casting()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 534, in _disallow_bool_casting
self._disallow_in_graph_mode("using a tf.Tensor as a Python bool")
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 523, in _disallow_in_graph_mode
" this function with @tf.function.".format(task))
tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: using a tf.Tensor as a Python bool is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.