mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-20 09:01:16 -08:00
Update model_loader_no_Crop.py
This commit is contained in:
1 parent
f282176207
commit
3263f3eb10
1 file changed
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user