Skip to content

Commit 1583e02

Browse files
committed
2 parents e03c967 + 0b5dc06 commit 1583e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

element_interface/extract_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, extract_dir: str):
2525

2626
results = loadmat(extract_file)
2727

28-
self.creation_time = datetime.utcnow()
28+
self.creation_time = datetime.fromtimestamp(os.stat(extract_file).st_ctime)
2929
self.S = results["output"][0]["spatial_weights"][0] # (Height, Width, MaskId)
3030
self.T = results["output"][0]["temporal_weights"][0] # (Time, MaskId)
3131

0 commit comments

Comments
 (0)