mask-rcnn-tf-2.0's People
mask-rcnn-tf-2.0's Issues
ValueError: Duplicate node name in graph: 'mask_rcnn/proposal_targets/packed'
While using this repository for custom dataset, I encountered the below error on training the model:
ValueError: Duplicate node name in graph: 'mask_rcnn/proposal_targets/packed'
TF version: 2.0
Keras 2.3.1
Python 3.6
How to use this code ?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.