Abdullah-Nazhat commited on
Commit
210f5d5
·
verified ·
1 Parent(s): 1511867

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +2 -2
train.py CHANGED
@@ -59,7 +59,7 @@ print(f"using {device} device")
59
 
60
 
61
 
62
- class TensorMapperImageClassification(LiteTensorMapper):
63
  def __init__(
64
  self,
65
  image_size=32,
@@ -89,7 +89,7 @@ class TensorMapperImageClassification(LiteTensorMapper):
89
  out = self.classifier(embedding)
90
  return out
91
 
92
- model = TensorMapperImageClassification().to(device)
93
  print(model)
94
 
95
 
 
59
 
60
 
61
 
62
+ class LiteTensorMapperImageClassification(LiteTensorMapper):
63
  def __init__(
64
  self,
65
  image_size=32,
 
89
  out = self.classifier(embedding)
90
  return out
91
 
92
+ model = LiteTensorMapperImageClassification().to(device)
93
  print(model)
94
 
95