HachiML commited on
Commit
e5119d1
1 Parent(s): 68b88b3

Upload feature_extraction_moment.py

Browse files
Files changed (1) hide show
  1. feature_extraction_moment.py +1 -1
feature_extraction_moment.py CHANGED
@@ -40,7 +40,7 @@ class MomentFeatureExtractor(FeatureExtractionMixin):
40
  else:
41
  time_series_values = None
42
 
43
- return BatchFeature(data=time_series_values)
44
 
45
 
46
  def _convert_time_series(self, time_series, return_tensors, torch_dtype):
 
40
  else:
41
  time_series_values = None
42
 
43
+ return BatchFeature(data={"time_series_values": time_series_values})
44
 
45
 
46
  def _convert_time_series(self, time_series, return_tensors, torch_dtype):