Transformers How to use YoussefMoNader/timesformer-test2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="YoussefMoNader/timesformer-test2", trust_remote_code=True) # Load model directly
from transformers import AutoModelForInstanceSegmentation
model = AutoModelForInstanceSegmentation.from_pretrained("YoussefMoNader/timesformer-test2", trust_remote_code=True, dtype="auto")