Recent Releases of orthoseg

orthoseg - Version 0.7.0

Deprecations and compatibility notes

  • Add support + tests for recent tensorflow versions (2.19 at time of writing) (#217)
  • Update minimal dependencies. Most notable ones: drop support of python 3.9, geopandas >=1.0, geofileops >= 0.10. (#229, #230, #271)

Improvements

  • Support reading images directly from the datasource while predicting (#228, #231)
  • Add support to load images from a WMTS service and document the option to use the GDAL WMS driver to use several other service types like TMS, XYZ,... (#207)
  • Make image format for downloaded images configurable (#204)
  • Add validations on the augmentation configuration (#214)
  • Add support to reuse one training dataset for multiple train resolutions (#244)
  • Improve performance of predict_dir for evaluation_mode (#236)
  • In clean_project_dir, use the unique traindata versions of the files present to determine the number of versions to remove (#254)
  • Make load_images more robust by ignoring some filesystem errors that occur sometimes but that don't seem to give actual issues (#216, #2019)
  • Small improvements to logging, error messages,... (#198, #218, #247)

Bugs fixed

  • Avoid error if a training dataset contains 2 identical locations (#205)
  • Avoid error with mixed usage of label name and classname columns in polygon train files (#237)

- Python
Published by theroggy 7 months ago

orthoseg - Version 0.6.1.post1

Loosen versions for several dependencies to be able to use newer versions.

- Python
Published by theroggy 8 months ago

orthoseg - Version 0.6.1

Bugs fixed

  • Fix error in prepare_traindatasets when a polygons training dataset is empty (#192, #193)
  • Fix error in train when a model was saved and the next epoch should not be retained (#195)

- Python
Published by theroggy over 1 year ago

orthoseg - Version 0.6.0

Deprecations and compatibility notes

  • Change default nbconcurrentcalls when downloading layer to 1 instead of 6 (#149)

Improvements

  • Add command to (only) validate a training dataset (#133)
  • Add options to improve control of output of postprocess (#167)
  • Add support to train subject on different pixel sizes (#143, #174)
  • Add support to overrule configuration parameters via command line arguments (#152)
  • Add option(s) to do automatic cleanup of "old" models, predictions and training data directories (#52)
  • In prepare_trainingdata, reuse images already available in previous version (#170)
  • Several small improvements to logging, documentation,... (#128, #180, #185)
  • Apply pyupgrade (python >= 3.9), pydocstyle, isort and mypy (#181, #182, #184, #187)
  • Update dependencies: geopandas, ruff,... + drop support for pygeos (#179)

Bugs fixed

  • Fix check that traindataset has validation samples should not be per file (#131)
  • Fix support for WMS username/password (#146)
  • Fix train gives an error after training if there are no "test" locations defined (#165)
  • Ignore occassional irrelevant errors thrown during load_images (#186)

- Python
Published by theroggy over 1 year ago

orthoseg - Version 0.6.0a1

- Python
Published by theroggy about 2 years ago

orthoseg - Version 0.5.0

Improvements

  • Add support to train and detect on local image file layer (#111)
  • Add check that train and validation data is mandatory (#118)
  • Support geopandas 0.13 + remove dependency on pygeos (#121)
  • Improve performance of prepare_traindatasets for large label files (#116)
  • Use optimized implementation in pygeoops for inline simplification during predict (#123):
    • 10x faster for inline simplification
    • new LANG+ algorithm for improved simplification (= now default algorithm)
  • Several small improvements to logging, linting,... (#110, #112, #122,...)

Bugs fixed

  • Fix occasional "database locked" error while predicting + improve predict performance (#120)

- Python
Published by theroggy over 2 years ago

orthoseg - Version 0.4.2

Improvements

  • Add support for username/password logon for WMS (#97)
  • Improve performance of load_images (#99)

Bugs fixed

  • Fix download of model in load_sampleprojects (#100)

- Python
Published by theroggy almost 3 years ago

orthoseg - Version 0.4.1

Improvements

  • Avoid warning blockysize is not supported for jpeg when downloading images (#77)
  • Add version attribute to orthoseg (#80)
  • Add option to specify reclassify to neighbour query as postprocessing (#86, #88)
  • Reuse sample_project for tests so it is tested as well (#81)
  • Improve test coverage (#79, #82, #83)
  • Add support for shapely 2 (#92)

Bugs fixed

  • Fix occasional errors when predicting with topologic simplify (#69)
  • Fix non blocking errors in prediction being ignored/not reported + format error email in html (#72, #76)
  • Fix error in prediction on ubuntu 22.04 (#73)
  • Fix error when prediction output dir doesn't exist yet (#75)
  • Fix reclassifytoneighbours giving undetermined result when 2+ neighbours are reclassification candidates (#84)

Deprecations and compatibility notes

  • Remove old model architectures: standard+unet and ternaus+unet (#82)

- Python
Published by theroggy about 3 years ago

orthoseg - Version 0.4.0

Improvements

  • Add option to use topologic simplify (#22)
  • Add option to specify the minimum probability in the result (#23)
  • Add option to reclassify (e.g. small) features to the class of its neighbour (#30, #36)
  • Add check if location BBOXs are of the right size (#38)
  • Improve handling of empty features in training data (#16, #19)
  • In the polygons label file, change default class column name to "classname" (#39)
  • Add traindata type todo (#37)
  • Add support for training data from layers in different projections (#56, #60)
  • Add list of invalid geometries + coordinates in train mail (#40)
  • Add option to ignore wms url in capabilities (#20)
  • Add support for crs's with switched axes order (#50)
  • Add nb_parallel parameter to predict (#15)
  • Add pre-simplify with RDP when using (inline) LANG simplification (#29)
  • Add option to disable ssl verification when downloading sample projects (#64)
  • Apply black formatting to comply with pep8 (#27)
  • Enable running CI tests using github actions (#42, #67)
  • Support newer versions of used packages (#59, #61, #62)

Deprecations and compatibility notes

  • Disable default simplify in postprocess (#32)
  • Command 'scriptrunner' renamed to 'osscriptrunner' (#59)

- Python
Published by theroggy over 3 years ago

orthoseg - Version 0.3.0

Highlights for this release are a feature to be able to combine bands from different WMS layers to one (3 band) input layer, performance improvements,...

Improvements: - Add feature to combine bands from different WMS layers in one input image layer to segment - Add option to save model after default 100 epochs even if min. accuracy not reached - Add option to first train some epochs with the encode layers frozen - Improve input data checks in prepare_traindatasets - Introduce "scriptrunner", to have more flexibility when running orthoseg tasks combined with other scripts - Improve/update documentation + sample project - Improve prediction performance - Improve logging - Update dependencies, eg. tensorflow 2.8, geofileops 0.3, geopandas 0.10,...

Bugfixes: - When downloading a greyscale layer from a WMS, it was created incorrectly

- Python
Published by theroggy about 4 years ago

orthoseg - Scriptrunner + brightness augmentation

- Python
Published by theroggy over 4 years ago

orthoseg - Combine band from different WMS services to one input layer

Highlights for this release are a feature to be able to combine bands from different WMS layers to one (3 band) input layer and support for the newest version of tensorflow: 2.5.

Improvements: * Add feature to combine bands from different WMS layers in one input image layer * Add support for tensorflow 2.5 * Add option to save model after default 100 epochs even if min. accuracy not reached * Improve input data checks in prepare_traindatasets * General small improvements to logging,

Bugfixes: * When downloading a greyscale layer from a WMS, it was created incorrectly

- Python
Published by theroggy over 4 years ago

orthoseg - Support for multiclass classification

The most important improvement is that multiclass classification is now fully supported.

For typical segmentation projects the changes should be backwards compatible. If you have overridden one of these configuration options however, it is a good idea to review the documentation in projectdefaults.ini to check if there are caveats to watch out for: * train.imageaugmentations, train.mask_augmentations * train.classes

Most important new features: * Add support for multiclass classification: check out the train.classes parameter in projectdefaults.ini * Add option to use a cron schedule to configure when images can be downloaded: check out the download.cronschedule parameter in projectdefaults.ini * Add option to simplify vector output on-the-fly during prediction to make output smaller: check out the predict.simplifyalgorythm and predict.simplifytolerance parameters in projectdefaults.ini * Make postprocessing steps to be done configurable in config files: check out the postprocess section in project_defaults.ini

Most important improvements and bug fixes: * Vectorize predictions on-the-fly during prediction to evade need for large temporary storage * Add end-to-end tests using a test project * Add option to save augmented images during training for troubleshooting: check out the train.saveaugmentedsubdir parameter in project_defaults.ini * Cleanup support for uninteresting models * Improve logging, progress reporting, type annotations * Update tensorflow dependency to 2.4 * Fix error in algorithm to determine if label files have changed since last training

- Python
Published by theroggy almost 5 years ago

orthoseg - Small improvements

The main improvements are listed here.

Improvements * Improve scripts to package, install,... * Small improvements to postprocessing * Update versions of dependencies (geofileops, tensorflow)

- Python
Published by theroggy about 5 years ago

orthoseg - Bugfix release

Fixed issue when downloading/caching images to predict on: if a region of interest geofile was provided, some tiles at the border of the region were missing

- Python
Published by theroggy over 5 years ago

orthoseg - First "official" release

First "official" release... so not a lot of use in providing a changelog...

- Python
Published by theroggy over 5 years ago