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

Update test to use second num_semantic_classes input. #644

Merged
merged 1 commit into from
Jan 13, 2023
Merged
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
2 changes: 1 addition & 1 deletion deepcell/model_zoo/panopticnet_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def test_panopticnet_semantic_class_types(self):
model1 = PanopticNet(num_semantic_classes=nsc1, **shared_kwargs)

nsc2 = {'0': 2, '1': 3}
model2 = PanopticNet(num_semantic_classes=nsc1, **shared_kwargs)
model2 = PanopticNet(num_semantic_classes=nsc2, **shared_kwargs)

for o1, o2 in zip(model1.outputs, model2.outputs):
self.assertEqual(o1.shape.as_list(), o2.shape.as_list())
Expand Down