Views
No views yet
1from modeling import EffNetPlantDiseaseClassification
2test_model = EffNetPlantDiseaseClassification.from_pretrained("BrandonFors/effnetv2_s_plant_disease").to(device)1# Get model weights from torchvision
2import torchvision
3### EffNetV2 - S
4effnetv2_s_weights = torchvision.models.EfficientNet_V2_S_Weights.DEFAULT
5effnetv2_s_auto_transforms = effnetv2_s_weights.transforms()