Open vba34520 opened 9 months ago
i wonder how can i get files like checkpoints/i3d_imagenet-pretrained-r50_8xb8-32x2x1-100e_kinetics400-rgb_20220812-e213c223.pth ?
i wonder how can i get files like checkpoints/i3d_imagenet-pretrained-r50_8xb8-32x2x1-100e_kinetics400-rgb_20220812-e213c223.pth ?我想知道如何获取像 checkpoints/i3d_imagenet-pretrained-r50_8xb8-32x2x1-100e_kinetics400-rgb_20220812-e213c223.pth 这样的文件?
Thank you for sharing !
god, i meet the same question. File "mmaction2-main/mmaction/datasets/transforms/processing.py", line 1168, in transform assert crop_h == img_h or crop_w == img_w AssertionError
This should be a matter of video size.
This issue occurs when using the ThreeCrop method with the longvideodemo script. I resolved this issue by modifying the crop method in the configuration file.
@St4r4x Hi, may I ask the details about how modify the crop method in the configuration file?
I replaced ThreeCrop method by CenterCrop
I replaced ThreeCrop method by CenterCrop
It works, thank you so much ! @St4r4x
The resize filter in the test_pipeline seems to be corrupt. I could fix the demo with adding manual resizing into line 209: resized_windows = [cv2.resize(frame, (224, 224)) for frame in cur_windows]
line 213 change cur_windows into resized_windows respectively.
Branch
main branch (1.x version, such as
v1.0.0
, ordev-1.x
branch)Prerequisite
Environment
sys.platform: win32 Python: 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] CUDA available: True MUSA available: False numpy_random_seed: 2147483648 GPU 0: NVIDIA GeForce RTX 3060 Laptop GPU CUDA_HOME: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1 NVCC: Cuda compilation tools, release 11.1, V11.1.74 MSVC: 用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.29.30153 版 GCC: n/a PyTorch: 1.12.1+cu113 PyTorch compiling details: PyTorch built with:
TorchVision: 0.13.1+cu113 OpenCV: 4.9.0 MMEngine: 0.10.3 MMAction2: 1.2.0+4d6c934 MMCV: 2.1.0 MMDetection: 3.3.0
Describe the bug
At long-video-demo
not suitable for my video with 1920×1080.
It raised AssertionError:
Thanks a lot.
Reproduces the problem - code sample
No response
Reproduces the problem - command or script
No response
Reproduces the problem - error message
No response
Additional information
No response