Skip to content

Commit

Permalink
Updating config
Browse files Browse the repository at this point in the history
  • Loading branch information
earthlab committed Jun 29, 2023
1 parent 57378b7 commit c67ffb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ aws:
torch:
inference:
batch_size: 100
num_workers: 12
num_workers: 5
2 changes: 1 addition & 1 deletion src/ml/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def inference_torch(model_file: TrainedModel, tile_match_file: Union[SingleRegio
output = model(data)
probs = torch.softmax(output, dim=1)
conf, pred = torch.max(probs, 1)

print(data.shape)
print(pred)

# store res to file
Expand Down

0 comments on commit c67ffb9

Please sign in to comment.