Skip to content

Commit

Permalink
fix numpy issue with dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcj05 committed Sep 12, 2024
1 parent df909c0 commit 693c3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostProcessors/DataLabeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,6 @@ def run(self, inputIn):
dimsDict[self.label] = dims
break
outputDict[self.label].append(np.asarray([label]*historySize))
outputDict[self.label] = np.asarray(outputDict[self.label])
outputDict[self.label] = np.asarray(outputDict[self.label], dtype=object)
outputDict = {'data': outputDict, 'dims':targetDict['dims']}
return outputDict

0 comments on commit 693c3df

Please sign in to comment.