Skip to content

Commit

Permalink
fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
dsethz committed Nov 9, 2024
1 parent 13920c4 commit 7b35ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nuclai/models/evaluate_lr_rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main():
data = json.load(f)

# compile training data
tmp = np.load(data[0]["path"])
tmp = np.load(data["0"]["path"])
data_test = np.zeros((len(data), tmp.shape[1]))
labels_test = np.zeros(len(data))
ids = []
Expand Down
2 changes: 1 addition & 1 deletion src/nuclai/models/train_lr_rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def main():
data = json.load(f)

# compile training data
tmp = np.load(data[0]["path"])
tmp = np.load(data["0"]["path"])
data_train = np.zeros((len(data), tmp.shape[1]))
labels_train = np.zeros(len(data))

Expand Down

0 comments on commit 7b35ca2

Please sign in to comment.