Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion task_tracker/activations/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def main():
# Process data for activations
for data_type, data in model.data.items():
try:
subset = json.load(open(data, "r"))
with open(data, "r") as f:
subset = json.load(f)

# Determine directory and subset types based on data type
if data_type == "train":
Expand Down