RamAnanth1 commited on
Commit
9022b97
1 Parent(s): 8b3abf5

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -308,7 +308,7 @@ class Model:
308
 
309
  # optional
310
  return_heatmap = False
311
- dataset = pose_model.cfg.data['test']['type']
312
 
313
  # e.g. use ('backbone', ) to return backbone feature
314
  output_layer_names = None
 
308
 
309
  # optional
310
  return_heatmap = False
311
+ dataset = self.pose_model.cfg.data['test']['type']
312
 
313
  # e.g. use ('backbone', ) to return backbone feature
314
  output_layer_names = None