Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed versions of keras and tf #3055

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Mask_RCNN
Submodule Mask_RCNN added at 3deaec
2 changes: 1 addition & 1 deletion mrcnn/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def compute_output_shape(self, input_shape):

def log2_graph(x):
"""Implementation of Log2. TF doesn't have a native implementation."""
return tf.log(x) / tf.log(2.0)
return tf.math.log(x) / tf.math.log(2.0)


class PyramidROIAlign(KE.Layer):
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Pillow
cython
matplotlib
scikit-image
tensorflow>=1.3.0
keras>=2.0.8
tensorflow==1.15.2
protobuf==3.20
keras==2.2.4
opencv-python
h5py
imgaug
Expand Down