Views
No views yet
1from huggingface_hub import hf_hub_download
2from tensorflow.keras.models import load_model1model_path = hf_hub_download(repo_id="MooseML/EfficientNet-Cancer-Detection", filename="efficientnet_cancer_model.h5")
2model = load_model(model_path)1model_path_vit = hf_hub_download(repo_id="MooseML/EfficientNet-Cancer-Detection", filename="ViT_hybrid_cancer_model.h5")
2model_vit = load_model(model_path_vit)