Nikeytas/videomae-crime-detector-production-v1
Video Classification
β’
86.2M
β’
Updated
β’
647
Error code: ConfigNamesError
Exception: RuntimeError
Message: Dataset scripts are no longer supported, but found ucf_crime.py
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
config_names = get_dataset_config_names(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1031, in dataset_module_factory
raise e1 from None
File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 989, in dataset_module_factory
raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
RuntimeError: Dataset scripts are no longer supported, but found ucf_crime.pyNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
μ΄ λ°μ΄ν°μ
μ UCF-Crime λ°μ΄ν°μ
μ Hugging Face datasets λΌμ΄λΈλ¬λ¦¬μ μ€νΈλ¦¬λ° κΈ°λ₯μ μν΄ WebDataset(TAR Sharding) νμμΌλ‘ λ³νν λ²μ μ
λλ€.
100GB μ΄μμ λκ·λͺ¨ λΉλμ€ λ°μ΄ν°λ₯Ό ν¨μ¨μ μΌλ‘ λ‘λν μ μμ΅λλ€.
from datasets import load_dataset
# Anomaly Detection μ€μ λ‘λ
dataset = load_dataset("your_id/ucf_crime", "anomaly_detection", split="train", streaming=True)
for sample in dataset:
video_path = sample["mp4"]
label = sample["json"]["event"]
print(f"Video loaded: {video_path}, Label: {label}")
break
@InProceedings{Sultani_2018_CVPR,
author={Sultani, Waqas and Chen, Chen and Shah, Mubarak},
title={Real-World Anomaly Detection in Surveillance Videos},
booktitle={The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month={June},
year={2018},
}