Skip to content

Commit

Permalink
trainable variables fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeWood committed Sep 8, 2022
1 parent e3bd717 commit 02dda74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ def test_weights_contained_in_trainable_variables(self):
_ = retina_net(xs)
variable_names = [x.name for x in retina_net.trainable_variables]
# classification_head
self.assertIn('RetinaNet/prediction_head/conv2d_8/kernel:0', variable_names)
self.assertIn("RetinaNet/prediction_head/conv2d_8/kernel:0", variable_names)
# box_head
self.assertIn('RetinaNet/prediction_head_1/conv2d_11/kernel:0', variable_names)
self.assertIn("RetinaNet/prediction_head_1/conv2d_11/kernel:0", variable_names)

def test_weights_change(self):
bounding_box_format = "xywh"
Expand Down

0 comments on commit 02dda74

Please sign in to comment.