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

Is it possible to use EfficientNet backbone in TSN? #242

Open
alejopaullier96 opened this issue Sep 5, 2022 · 1 comment
Open

Is it possible to use EfficientNet backbone in TSN? #242

alejopaullier96 opened this issue Sep 5, 2022 · 1 comment

Comments

@alejopaullier96
Copy link

Is it possible to use an EfficientNet backbone in TSN? I mean something like this:

model = dict(
    type='Recognizer2D',
    backbone=dict(
        type='EfficientNetB4',
        pretrained='torchvision://efficientnet_b4', <------------- somehow change this
        depth=50,
        norm_eval=False),
    cls_head=dict(
        type='TSNHead',
        num_classes=3,
        in_channels=2048,
        spatial_type='avg',
        consensus=dict(type='AvgConsensus', dim=1),
        dropout_ratio=0.4,
        init_std=0.01),
    train_cfg=None,
    test_cfg=dict(average_clips=None))

I dont know if this is possible. For sure there are no weights in the model zoo for this but maybe if this can be done it can be initialized with PyTorch EfficientNet's weights.

@hukkai
Copy link

hukkai commented Oct 20, 2022

@alejopaullier96 mmaction is no longer maintained. Please check mmaction2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants