meetps / pytorch-semseg

Semantic Segmentation Architectures Implemented in PyTorch
https://meetshah.dev/semantic-segmentation/deep-learning/pytorch/visdom/2017/06/01/semantic-segmentation-over-the-years.html
MIT License
3.39k stars 796 forks source link

Cityscapes Config YAML #198

Closed alvinwan closed 5 years ago

alvinwan commented 5 years ago

Here is the config I used to get the repo up and running:

model:
    arch: frrnB
data:
    dataset: cityscapes
    train_split: train
    val_split: val
    img_rows: 512
    img_cols: 1024
    path: /your/path/to/cityscapes
training:
    train_iters: 85000
    batch_size: 2
    val_interval: 500
    print_interval: 25
    optimizer:
        lr: 1.0e-4
        name: adam
    lr_schedule:
        name: poly_lr
        max_iter: 85000
    momentum: 0.99
    weight_decay: 0.0005
    resume: frrnB_cityscapes_best_model.pkl
    visdom: False
    n_workers: 2
    loss:
        name: cross_entropy

This may resolve #149 but per #57 may not see meaningful results. Including this here for posterity; I'll include my checkpoint if it looks promising. If I don't followup, training likely gave the same result as the linked thread.

alvinwan commented 5 years ago

*training yielded 53.2 mIOU