Skip to content

Commit

Permalink
[UPDATE] repository name odeon-landcodev to odeon (#2)
Browse files Browse the repository at this point in the history
* [UPDATE] repository name odeon-landcodev to odeon

* [UPDATE] fix typo odeondocumentation to odeon documentation
  • Loading branch information
samysung authored Apr 19, 2023
1 parent 5c5e5b4 commit 6ab40e3
Show file tree
Hide file tree
Showing 7 changed files with 241 additions and 100 deletions.
136 changes: 136 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,139 @@ tests/fixture
tests/fixture/*
_build/
docs/_build
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
git_bck/
# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
.idea/
.idea*
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# configurations cli
configs
configs/
config
166 changes: 84 additions & 82 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,116 +1,118 @@
Changes
=======

0.1 (2020-12-14)
----------------
- add grid sampling
- add generation of dataset
- add systematic sampling
- add zone detection based on extent and raster dalle
- add patch detection
- add documentation
- add CI/CD with static code analysic, build doc, publish doc job
0.2.19 (2023-03-19)
-------------------
- Update repository name from odeon-landcover to odeon, corrections on readme and doc
- Change changelogs order from asc chronological order to desc.
- update url of repository in setup.py

0.1.1 (2021-01-06)
------------------
- fix issue 16
- fix resolution change in detection
0.2.18 (2022-06-24)
-------------------
- Update documentation and doc configuration after transfert from gitlab to github

0.2 (2021-09-13)
------------------
- add tool stats
- add tool metrics
- add of the documentation relative to these tools
- add module report
0.2.17 (2022-06-23)
-------------------
- Fix issue #19 : batch mode of the generate dataset tool makes multiple copy of sample in csv
- Fix issue #46 : bug in generate when using shapefile having geometries with Z attribute
- Fix issue #47 : Detect by zone has a shift of 1 pixel on result on same case
- Fix Issue #49 : Detect zone wrong extend and resolution output when asking a resolution different from source data
- remove test on gdal tools in setup.py (see #48)

0.2.1 (2021-09-14)
------------------
- fix zone detection problem in tile generation
0.2.16 (2022-06-20)
-------------------
- Implement Feature issue #8 : implement "continue training" feature
- Fix issue #15 : grid sampling : tile can be outside the zone
- Fix issue #38 : spatial shift with sampling_sys

0.2.2 (2021-09-14)
------------------
- removed the image_to_ndarray (using gdal) replacing every call to raster_to_ndarray (using rasterio). Should fix issue 22 (closed)
0.2.15 (2022-02-21)
-------------------
- Fix issue 45: Metrics - Problem reading file name during dataset creation

0.2.3 (2021-09-24)
0.2.14 (2021-01-11)
-------------------
- Fix issue 44: Deployment script changes in relation to pylint developments.
- Fix issues 43: Metrics: use the tool with predictions and masks of differents shapes.
- Refactoring of metrics code (to correct fiew problems on testing parameters and to gather plot functions).

0.2.13 (2021-11-18)
-------------------
- Fix issue 40: Metrics: problem with labels in the case of class selection.
- Fix issue 41: Forgot to change version and do modifcations on CHANGELOG.rst file.

0.2.12 (2021-10-22)
------------------
- Correct the problem in generation when a source have NoDataValue. Should fix issue 23.
- fix minimum version number for packages pandas and geopandas. Fix issue #30 (closed)
- fix problem of homogeneity in band indices between tools in code and in documentation. Fix issue #29 (closed)
- fix issue 39: Reports become unreadable when the number of classes is too high and we would like to add the
possibility to output in a csv file the threshold values corresponding to each point of the ROC/PR curves.

0.2.4 (2021-09-27)
0.2.11 (2021-10-21)
------------------
- Refactoring of DEM computation to align detection and generation. Fix issue # 21 (closed)
- Correction of bug when bands are after DSM or DTM when dem option is set to true. Fix issue #20 (closed)
- Fixing the option compute_only_mask to compute only masks and not images. Fix issue #18 (closed)
- Correct problems in stats related to the modifications made to remove gdal dependencies. Fix issue #24 (closed)
- fix issue 31 : metric script don't work when predicition and mask files do not have the same number of bands.
- add the feature to select the classes on which we want to use the metrics
- correction on cm figure size when the number of classes is large.
- correction on the export of metrics in a json file.

0.2.5 (2021-09-27)
0.2.9 (2021-10-05)
------------------
- fix issue with BCE loss.
Don't call torch loss directly and convert target tensor to long only for CrossEntropyWithLogitLoss.
- fix issue 34 : regression introduced in generate dataset on batch mode.

0.2.6 (2021-09-30)
0.2.8 (2021-10-04)
------------------
- fix issue with new mobilenetv2 module on new torchvision version without regression
- fix regression introduce in v0.2.4 in detection zone.

0.2.7 (2021-09-31)
------------------
- improve miou computation speed during training
use pytorch in place of numpy to do MiOu computation.

0.2.8 (2021-10-04)
0.2.6 (2021-09-30)
------------------
- fix regression introduce in v0.2.4 in detection zone.
- fix issue with new mobilenetv2 module on new torchvision version without regression

0.2.9 (2021-10-05)
0.2.5 (2021-09-27)
------------------
- fix issue 34 : regression introduced in generate dataset on batch mode.
- fix issue with BCE loss.
Don't call torch loss directly and convert target tensor to long only for CrossEntropyWithLogitLoss.

0.2.10 (2021-10-08)
0.2.4 (2021-09-27)
------------------
- fix issue 35 : generation and detection regression since 0.2.4 in float conversion
- Refactoring of DEM computation to align detection and generation. Fix issue # 21 (closed)
- Correction of bug when bands are after DSM or DTM when dem option is set to true. Fix issue #20 (closed)
- Fixing the option compute_only_mask to compute only masks and not images. Fix issue #18 (closed)
- Correct problems in stats related to the modifications made to remove gdal dependencies. Fix issue #24 (closed)

0.2.11 (2021-10-21)
0.2.3 (2021-09-24)
------------------
- fix issue 31 : metric script don't work when predicition and mask files do not have the same number of bands.
- add the feature to select the classes on which we want to use the metrics
- correction on cm figure size when the number of classes is large.
- correction on the export of metrics in a json file.
- Correct the problem in generation when a source have NoDataValue. Should fix issue 23.
- fix minimum version number for packages pandas and geopandas. Fix issue #30 (closed)
- fix problem of homogeneity in band indices between tools in code and in documentation. Fix issue #29 (closed)

0.2.12 (2021-10-22)
0.2.2 (2021-09-14)
------------------
- fix issue 39: Reports become unreadable when the number of classes is too high and we would like to add the
possibility to output in a csv file the threshold values corresponding to each point of the ROC/PR curves.

0.2.13 (2021-11-18)
-------------------
- Fix issue 40: Metrics: problem with labels in the case of class selection.
- Fix issue 41: Forgot to change version and do modifcations on CHANGELOG.rst file.

0.2.14 (2021-01-11)
-------------------
- Fix issue 44: Deployment script changes in relation to pylint developments.
- Fix issues 43: Metrics: use the tool with predictions and masks of differents shapes.
- Refactoring of metrics code (to correct fiew problems on testing parameters and to gather plot functions).
- removed the image_to_ndarray (using gdal) replacing every call to raster_to_ndarray (using rasterio). Should fix issue 22 (closed)

0.2.15 (2022-02-21)
-------------------
- Fix issue 45: Metrics - Problem reading file name during dataset creation
0.2.1 (2021-09-14)
------------------
- fix zone detection problem in tile generation

0.2.16 (2022-06-20)
-------------------
- Implement Feature issue #8 : implement "continue training" feature
- Fix issue #15 : grid sampling : tile can be outside the zone
- Fix issue #38 : spatial shift with sampling_sys
0.2 (2021-09-13)
------------------
- add tool stats
- add tool metrics
- add of the documentation relative to these tools
- add module report

0.2.17 (2022-06-23)
-------------------
- Fix issue #19 : batch mode of the generate dataset tool makes multiple copy of sample in csv
- Fix issue #46 : bug in generate when using shapefile having geometries with Z attribute
- Fix issue #47 : Detect by zone has a shift of 1 pixel on result on same case
- Fix Issue #49 : Detect zone wrong extend and resolution output when asking a resolution different from source data
- remove test on gdal tools in setup.py (see #48)
0.1.1 (2021-01-06)
------------------
- fix issue 16
- fix resolution change in detection

0.2.18 (2022-06-24)
-------------------
- Update documentation and doc configuration after transfert from gitlab to github
0.1 (2020-12-14)
----------------
- add grid sampling
- add generation of dataset
- add systematic sampling
- add zone detection based on extent and raster dalle
- add patch detection
- add documentation
- add CI/CD with static code analysic, build doc, publish doc job
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ sensing images (aerial and/or satellite) with as many layers as you wish.

These instructions assume that you already have [conda](https://conda.io/) installed.

First, download and extract a copy of odeon from [repository](https://github.com/IGNF/odeon-landcover.git).
First, download and extract a copy of odeon from [repository](https://github.com/IGNF/odeon;.git).
Then navigate to the root of the odeon directory in a terminal and run the following:

```bash
# Clone repository
git clone [email protected]:IGNF/odeon-landcover.git
git clone [email protected]:IGNF/odeon.git
or
git clone https://github.com/IGNF/odeon-landcover.git
git clone https://github.com/IGNF/odeon.git
or
download a release at tag github page https://github.com/IGNF/odeon-landcover/tags
download a release at tag github page https://github.com/IGNF/odeon/tags

# Go to the root project folder
cd odeon-landcover
cd odeon

# Install the environment
conda env create --file=environment.yml
Expand Down
Loading

0 comments on commit 6ab40e3

Please sign in to comment.