TALLFormer icon indicating copy to clipboard operation
TALLFormer copied to clipboard

No module named Timesformer

Open nqxjzm opened this issue 2 years ago • 2 comments

image Hello,I can't find the code timesformer in your git I would appreciate it if you can help me.

nqxjzm avatar Jul 26 '22 07:07 nqxjzm

the same problem

zhuoyi-wu avatar Jul 29 '22 08:07 zhuoyi-wu

Sorry for the late response. Being quite busy recently. You can install TimeSformer following this repo: https://github.com/facebookresearch/TimeSformer.

However, the simplest solution is to comment out L6 in file vedatad/models/backbones/__init__.py:

--- a/vedatad/models/backbones/__init__.py
+++ b/vedatad/models/backbones/__init__.py
@@ -3,7 +3,7 @@ from .chunk_model import ChunkVideoSwin, ChunkVideoSwinWithChunkInput
 from .resnet3d import ResNet3d
 from .temp_graddrop import (GradDropChunkVideoSwin, GradDropChunkVideoSwinV2,
                             GradDropI3D, GradDropModel, GradDropTimeSformer)
-from .timesformer import ChunkTimeSformer
+# from .timesformer import ChunkTimeSformer
 from .vswin import SwinTransformer3D

 __all__ = [

Please let me know if you have other issues. If you miss some other packages, you can install it via pip or search it on google. Thanks!

klauscc avatar Aug 18 '22 21:08 klauscc