Skip to content

Commit

Permalink
Disables shared-memory workers by default, see #126
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-j-h committed Oct 9, 2018
1 parent dcea15d commit b7f6ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion robosat/tools/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def add_parser(subparser):
parser.add_argument("--checkpoint", type=str, required=True, help="model checkpoint to load")
parser.add_argument("--overlap", type=int, default=32, help="tile pixel overlap to predict on")
parser.add_argument("--tile_size", type=int, required=True, help="tile size for slippy map tiles")
parser.add_argument("--workers", type=int, default=1, help="number of workers pre-processing images")
parser.add_argument("--workers", type=int, default=0, help="number of workers pre-processing images")
parser.add_argument("tiles", type=str, help="directory to read slippy map image tiles from")
parser.add_argument("probs", type=str, help="directory to save slippy map probability masks to")
parser.add_argument("--model", type=str, required=True, help="path to model configuration file")
Expand Down
2 changes: 1 addition & 1 deletion robosat/tools/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def add_parser(subparser):
parser.add_argument("--dataset", type=str, required=True, help="path to dataset configuration file")
parser.add_argument("--checkpoint", type=str, required=False, help="path to a model checkpoint (to retrain)")
parser.add_argument("--resume", type=bool, default=False, help="resume training or fine-tuning (if checkpoint)")
parser.add_argument("--workers", type=int, default=1, help="number of workers pre-processing images")
parser.add_argument("--workers", type=int, default=0, help="number of workers pre-processing images")

parser.set_defaults(func=main)

Expand Down

0 comments on commit b7f6ebf

Please sign in to comment.