tsaddev commited on
Commit
507619f
·
1 Parent(s): d881650

Update app/Hackathon_setup/exp_recognition_model.py

Browse files
app/Hackathon_setup/exp_recognition_model.py CHANGED
@@ -18,7 +18,8 @@ logger = logging.get_logger("transformers")
18
  classes = {0: 'ANGER', 1: 'DISGUST', 2: 'FEAR', 3: 'HAPPINESS', 4: 'NEUTRAL', 5: 'SADNESS', 6: 'SURPRISE'}
19
 
20
  # Example Network
21
- def __init__(self, out_features=7):
 
22
  super().__init__()
23
 
24
  self.conv1 = self.convlayer(in_channels=1, out_channels=64, kernel_size=3)
 
18
  classes = {0: 'ANGER', 1: 'DISGUST', 2: 'FEAR', 3: 'HAPPINESS', 4: 'NEUTRAL', 5: 'SADNESS', 6: 'SURPRISE'}
19
 
20
  # Example Network
21
+ class facExpRec(torch.nn.Module):
22
+ def __init__(self, out_features=7):
23
  super().__init__()
24
 
25
  self.conv1 = self.convlayer(in_channels=1, out_channels=64, kernel_size=3)