Skip to content

Commit

Permalink
Fix issue with bf16
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-grzybek-ampere authored Sep 25, 2023
1 parent dd0d2d0 commit e6cc34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion computer_vision/classification/vgg_16/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def run_pytorch_fp(model_name, batch_size, num_runs, timeout, images_path, label

def run_single_pass(pytorch_runner, imagenet):
shape = (224, 224)
output = pytorch_runner.run(batch_size, torch.from_numpy(imagenet.get_input_array(shape)))
output = pytorch_runner.run(batch_size, torch.from_numpy(imagenet.get_input_array(shape))).float()

for i in range(batch_size):
imagenet.submit_predictions(
Expand Down

0 comments on commit e6cc34c

Please sign in to comment.