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
File size: 341 Bytes
8b78124 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"model_type": "prednet",
"architectures": ["PredNetModel"],
"auto_map": {
"AutoModel": "modeling.PredNetModel"
},
"custom_pipelines": {
"video-frame-prediction": {
"impl": "pipeline.VideoFramePredictionPipeline",
"pt": [],
"tf": ["AutoModel"]
}
},
"sequence_len": 4,
"resize_hw": [128, 128]
}
|