Instructions to use Zipeng365/WISP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use Zipeng365/WISP with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Zipeng365/WISP", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Download src/wisp/_data/wristharbench/datasets.json from Zipeng365/WISP: direct link, hf CLI and curl.
- Browser
- Download file 7.18 kB
-
https://huggingface.co/Zipeng365/WISP/resolve/main/src/wisp/_data/wristharbench/datasets.json
- Command line
-
hf download hf://Zipeng365/WISP/src/wisp/_data/wristharbench/datasets.json
-
curl -L -o datasets.json https://huggingface.co/Zipeng365/WISP/resolve/main/src/wisp/_data/wristharbench/datasets.json
7.18 kB
| { | |
| "capture24_wearable_activity_v1": { | |
| "window_steps": 250, | |
| "window_seconds": 10.0, | |
| "stride_seconds": 10.0, | |
| "sampling_rate_hz": 25.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "wrist", | |
| "sequences": 50459, | |
| "metadata": { | |
| "study_setting": "free_living", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "capture24_wearable_activity_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 250 | |
| } | |
| }, | |
| "wisdm_watch_accel_v1": { | |
| "window_steps": 100, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 20.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "smartwatch_wrist", | |
| "sequences": 74499, | |
| "metadata": { | |
| "study_setting": "lab_scripted", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "wisdm_watch_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 100 | |
| } | |
| }, | |
| "adl_wrist_accel_v1": { | |
| "window_steps": 160, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 32.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "right_wrist", | |
| "sequences": 4342, | |
| "metadata": { | |
| "study_setting": "lab_scripted", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "adl_wrist_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 160 | |
| } | |
| }, | |
| "iuwds_wrist_accel_v1": { | |
| "window_steps": 500, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 100.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "left_wrist", | |
| "sequences": 35442, | |
| "metadata": { | |
| "study_setting": "scripted_walk_stairs_drive", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "iuwds_wrist_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 500 | |
| } | |
| }, | |
| "paal_adl_wrist_accel_v1": { | |
| "window_steps": 160, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 32.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "dominant_wrist", | |
| "sequences": 14384, | |
| "metadata": { | |
| "study_setting": "natural_environment_protocol_adl", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "paal_adl_wrist_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 160 | |
| } | |
| }, | |
| "handy_wrist_accel_v1": { | |
| "window_steps": 260, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 52.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "wrist_side_not_reported", | |
| "sequences": 7163, | |
| "metadata": { | |
| "study_setting": "lab_scripted_fine_grained_hand_adl", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "handy_wrist_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 260 | |
| } | |
| }, | |
| "domino_watch_accel_v1": { | |
| "window_steps": 500, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 100.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "dominant_wrist_smartwatch", | |
| "sequences": 11627, | |
| "metadata": { | |
| "study_setting": "scripted_indoor_outdoor", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "domino_watch_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 500 | |
| } | |
| }, | |
| "harmes_left_wrist_accel_v1": { | |
| "window_steps": 250, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 5.0, | |
| "sampling_rate_hz": 50.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "left_wrist", | |
| "sequences": 44323, | |
| "metadata": { | |
| "study_setting": "home_like_scripted", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "harmes_left_wrist_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 250 | |
| } | |
| }, | |
| "harmes_right_wrist_accel_v1": { | |
| "window_steps": 250, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 5.0, | |
| "sampling_rate_hz": 50.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "right_wrist", | |
| "sequences": 44323, | |
| "metadata": { | |
| "study_setting": "home_like_scripted", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "harmes_right_wrist_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 250 | |
| } | |
| }, | |
| "gotov_wrist_accel_v1": { | |
| "window_steps": 415, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 83.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z" | |
| ], | |
| "body_placement": "right_wrist", | |
| "sequences": 33801, | |
| "metadata": { | |
| "study_setting": "indoor_outdoor_scripted_older_adults", | |
| "input_modalities": [ | |
| "wrist_accelerometer" | |
| ], | |
| "dataset_id": "gotov_wrist_accel_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 415 | |
| } | |
| }, | |
| "pamap2_hand_imu_v1": { | |
| "window_steps": 500, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 100.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z", | |
| "gyro_x", | |
| "gyro_y", | |
| "gyro_z", | |
| "mag_x", | |
| "mag_y", | |
| "mag_z" | |
| ], | |
| "body_placement": "dominant_arm_wrist", | |
| "sequences": 7637, | |
| "metadata": { | |
| "study_setting": "lab_scripted", | |
| "input_modalities": [ | |
| "wrist_accelerometer", | |
| "wrist_gyroscope", | |
| "wrist_magnetometer" | |
| ], | |
| "dataset_id": "pamap2_hand_imu_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 500 | |
| } | |
| }, | |
| "mhealth_right_lower_arm_v1": { | |
| "window_steps": 250, | |
| "window_seconds": 5.0, | |
| "stride_seconds": 2.5, | |
| "sampling_rate_hz": 50.0, | |
| "channels": [ | |
| "acc_x", | |
| "acc_y", | |
| "acc_z", | |
| "gyro_x", | |
| "gyro_y", | |
| "gyro_z", | |
| "mag_x", | |
| "mag_y", | |
| "mag_z" | |
| ], | |
| "body_placement": "right_distal_lower_arm", | |
| "sequences": 2561, | |
| "metadata": { | |
| "study_setting": "out_of_lab_scripted", | |
| "input_modalities": [ | |
| "wrist_accelerometer", | |
| "wrist_gyroscope", | |
| "wrist_magnetometer" | |
| ], | |
| "dataset_id": "mhealth_right_lower_arm_v1", | |
| "task": "sequence_classification", | |
| "primary_metric": "macro_f1", | |
| "fixed_length_steps": 250 | |
| } | |
| } | |
| } | |