Feature Extraction
Transformers
Safetensors
English
setcon
imu
wearable-sensing
human-activity-recognition
zero-shot-classification
motion-language
time-series
custom_code
Instructions to use lschiweck/SetCon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lschiweck/SetCon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="lschiweck/SetCon", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lschiweck/SetCon", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 849 Bytes
0107764 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Reference environment of the paper's numbers: Python 3.9, NVIDIA GPU with CUDA 12.8 wheels. # Other versions load and run the model; only this set has been checked to reproduce every printed digit. --extra-index-url https://download.pytorch.org/whl/cu128 torch==2.8.0+cu128 numpy==2.0.2 scipy==1.13.1 transformers==4.57.6 safetensors==0.7.0 huggingface_hub==0.36.2 # Only for examples/zero_shot.py (CLIP ViT-B/32 text encoder for your own class names). The paper's class vectors # are part of the evaluation data, so reproducing the numbers does not need CLIP. Install separately: # pip install torchvision==0.23.0+cu128 ftfy==6.3.1 regex --extra-index-url https://download.pytorch.org/whl/cu128 # pip install "setuptools<81" && pip install --no-build-isolation git+https://github.com/openai/CLIP.git@a1d071733d7111c9c014f024669f959182114e33 |