From 3263f3eb1071be8a23276dbe91fdaf7f780bae09 Mon Sep 17 00:00:00 2001 From: Summer <71572746+SummerSigh@users.noreply.github.com> Date: Thu, 8 Sep 2022 11:19:51 -0700 Subject: [PATCH] Update model_loader_no_Crop.py --- model_loader_no_Crop.py | 1 - 1 file changed, 1 deletion(-) diff --git a/model_loader_no_Crop.py b/model_loader_no_Crop.py index 37acacd..525ca0c 100644 --- a/model_loader_no_Crop.py +++ b/model_loader_no_Crop.py @@ -31,7 +31,6 @@ else: classes = ["cheekPuff", "cheekSquint_L", "cheekSquint_R", "noseSneer_L", "noseSneer_R", "jawOpen", "jawForward", "jawLeft", "jawRight", "mouthFunnel", "mouthPucker", "mouthLeft", "mouthRight", "mouthRollUpper", "mouthRollLower", "mouthShrugUpper", "mouthShrugLower", "mouthClose", "mouthSmile_L", "mouthSmile_R", "mouthFrown_L", "mouthFrown_R", "mouthDimple_L", "mouthDimple_R", "mouthUpperUp_L", "mouthUpperUp_R", "mouthLowerDown_L", "mouthLowerDown_R", "mouthPress_L", "mouthPress_R", "mouthStretch_L", "mouthStretch_R", "tongueOut"] model = mobilenetv2.mobilenetv2().to(device) model.load_state_dict(torch.load('BestTrainNeck1.pt',map_location=torch.device(device)) -model.eval() cap = cv2.VideoCapture(0) while True: