Instructions to use dvdface/next-frame-predict with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use dvdface/next-frame-predict with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("dvdface/next-frame-predict") - Notebooks
- Google Colab
- Kaggle
Download infer/__init__.py from dvdface/next-frame-predict: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/dvdface/next-frame-predict/resolve/main/infer/__init__.py
- Command line
-
hf download hf://dvdface/next-frame-predict/infer/__init__.py
-
curl -L -o __init__.py https://huggingface.co/dvdface/next-frame-predict/resolve/main/infer/__init__.py
172 Bytes
| from .predictor import Predictor | |
| from .anomaly import AnomalyResult, compute_anomaly_from_4frames | |
| __all__ = ["Predictor", "AnomalyResult", "compute_anomaly_from_4frames"] | |