Skip to content

Commit 7759e59

Browse files
committed
testing
1 parent 822d7e3 commit 7759e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ml4h/recipes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ def _predict_scalars_and_evaluate_from_generator(
10931093

10941094
for tm_output_name, y in predictions_dict.items():
10951095
if tm_output_name in scalar_predictions:
1096-
scalar_predictions[tm_output_name].extend(np.copy(y))
1096+
scalar_predictions[tm_output_name].extend(np.copy(y.numpy()))
10971097

10981098
if i % 100 == 0:
10991099
logging.info(f'Processed {i} batches, {len(test_paths)} tensors.')

0 commit comments

Comments
 (0)