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

Create own python class for every model for action cls, det, and classification tasks #2776

Prev Previous commit
Next Next commit
Fix test error
Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
  • Loading branch information
vinnamkim committed Jan 11, 2024
commit 3e4e7df18be1ffc8e6089028f4b53506de92ea42
2 changes: 1 addition & 1 deletion tests/integration/detection/test_model.py
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ def fxt_rtmdet_tiny_model_config(self, fxt_rtmdet_tiny_config) -> DictConfig:

@pytest.fixture()
def fxt_model(self, fxt_rtmdet_tiny_model_config) -> MMDetCompatibleModel:
return MMDetCompatibleModel(config=fxt_rtmdet_tiny_model_config)
return MMDetCompatibleModel(num_classes=3, config=fxt_rtmdet_tiny_model_config)

def test_forward_train(
self,