Skip to content

Commit

Permalink
Changing the deprecated parameter name dim to axis
Browse files Browse the repository at this point in the history
  • Loading branch information
sadeepj committed Mar 3, 2018
1 parent 8c15674 commit 64a459f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crfrnn_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def call(self, inputs):
q_values = unaries

for i in range(self.num_iterations):
softmax_out = tf.nn.softmax(q_values, dim=0)
softmax_out = tf.nn.softmax(q_values, axis=0)

# Spatial filtering
spatial_out = custom_module.high_dim_filter(softmax_out, rgb, bilateral=False,
Expand Down

0 comments on commit 64a459f

Please sign in to comment.