cmudrc/porous-microstructure-strain-fields
Updated โข 100 โข 1
How to use cmudrc/microstructure-colorization 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("cmudrc/microstructure-colorization")