Coder Social home page Coder Social logo

Comments (4)

hust-nj avatar hust-nj commented on September 18, 2024 1

@wsh-nie We included pretrained model link in readme
image

from video-swin-transformer.

r-kellerm avatar r-kellerm commented on September 18, 2024

You can find the pretrained models in the column "model" for each dataset, under https://github.com/SwinTransformer/Video-Swin-Transformer.
E.g.
image

from video-swin-transformer.

AnupKumarGupta avatar AnupKumarGupta commented on September 18, 2024

The Baidu shows incorrect credentials for the code swim.

from video-swin-transformer.

hayleeXinyi avatar hayleeXinyi commented on September 18, 2024

Hi, are there any mismatches occurring? I find that when I set it as below I can inference normally

config_file = '/home/haylee/Video-Swin-Transformer/mmaction2/tsn_imagenet-pretrained-r50_8xb32-1x1x8-100e_kinetics400-rgb.py'
checkpoint_file = '/home/haylee/Video-Swin-Transformer/mmaction2/tsn_imagenet-pretrained-r50_8xb32-1x1x8-100e_kinetics400-rgb_20220906-2692d16c.pth'

But setting it to the following reasoning reports an error

config_file = '/home/haylee/Video-Swin-Transformer/configs/recognition/tsn/tsn_r50_video_inference_1x1x3_100e_kinetics400_rgb.py'
checkpoint_file = '/home/haylee/Video-Swin-Transformer/checkpoints/tsn_r50_1x1x3_100e_kinetics400_rgb_20200614-e508be42.pth'

Error as below:

Exception has occurred: TypeError
class 'Normalize' in mmcv/transforms/processing.py: Normalize.__init__() got an unexpected keyword argument 'to_bgr'
TypeError: Normalize.__init__() got an unexpected keyword argument 'to_bgr'

During handling of the above exception, another exception occurred:

  File "/home/haylee/Video-Swin-Transformer/mmaction2/mmaction/apis/inference.py", line 79, in inference_recognizer
    test_pipeline = Compose(test_pipeline_cfg)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/haylee/Video-Swin-Transformer/demo/haylee_demo.py", line 12, in <module>
    pred_result = inference_recognizer(model, video_file)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: class 'Normalize' in mmcv/transforms/processing.py: Normalize.__init__() got an unexpected keyword argument 'to_bgr'

from video-swin-transformer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.