Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKPORT] Backport changes to the 0.21 branch for v0.21.2 release #1927

Merged
merged 13 commits into from Sep 25, 2023

Conversation

AdeelH
Copy link
Collaborator

@AdeelH AdeelH commented Sep 22, 2023

Backport #1913, #1915, #1916, #1917, #1918, #1920, #1921, #1926 to the 0.21 branch.

AdeelH and others added 13 commits September 22, 2023 14:30
Addresses the following warning from GitHub Actions:
"The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/"
The model bundles record every rastervision plugin that was installed when they were created and it was required to have all those plugins installed when using those bundles even if not actually needed. This change removes that requirement.

Co-authored-by: Adeel Hassan <ahassan@element84.com>
- refactor code
- replace assertions with appropriate exceptions
- replace str.format() with f-strings
- remove docstrings that are identical to parent class
…#1915)

* add pypi_build and pypi_publish scripts

* update release instructions

---------

Co-authored-by: Adeel Hassan <ahassan@element84.com>
It is used in core/utils/stac.py.
* Save model's weights for each epoch azavea#1720

* Fixes azavea#1720 (azavea#1921 (comment) - first point) Adds `save_all_checkpoints` to `LearnerConfig`

* Fixes azavea#1720 (azavea#1921 (comment) (comment) - second point)
Adds `save_all_checkpoints` to `PyTorchlearnerBackendConfig`

* Formats code (yapf) azavea#1720
Co-authored-by: Adeel Hassan <ahassan@element84.com>
@AdeelH AdeelH changed the title [BACKPORT] Backport changes to the 0.21 branch for v0.21.2 release [BACKPORT] Backport changes to the 0.21 branch for v0.21.2 release Sep 22, 2023
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #1927 (acc6479) into 0.21 (f4e429d) will increase coverage by 0.91%.
The diff coverage is 93.90%.

@@            Coverage Diff             @@
##             0.21    #1927      +/-   ##
==========================================
+ Coverage   81.56%   82.47%   +0.91%     
==========================================
  Files         190      190              
  Lines        9282     9325      +43     
==========================================
+ Hits         7571     7691     +120     
+ Misses       1711     1634      -77     
Files Changed Coverage Δ
...orch_backend/pytorch_chip_classification_config.py 62.96% <ø> (ø)
...pytorch_backend/pytorch_object_detection_config.py 61.53% <ø> (ø)
...ch_backend/pytorch_semantic_segmentation_config.py 62.96% <ø> (ø)
...ch_learner/rastervision/pytorch_learner/learner.py 75.66% <57.14%> (-0.24%) ⬇️
...tervision_pipeline/rastervision/pipeline/config.py 79.61% <66.66%> (+0.01%) ⬆️
...ervision_core/rastervision/core/data/utils/misc.py 85.24% <100.00%> (+0.37%) ⬆️
..._gdal_vsi/rastervision/gdal_vsi/vsi_file_system.py 99.31% <100.00%> (+67.08%) ⬆️
...rvision/pytorch_backend/pytorch_learner_backend.py 62.12% <100.00%> (ø)
.../pytorch_backend/pytorch_learner_backend_config.py 68.75% <100.00%> (+0.66%) ⬆️
...ner/rastervision/pytorch_learner/learner_config.py 83.12% <100.00%> (+0.03%) ⬆️

@AdeelH AdeelH merged commit 33f6ce4 into azavea:0.21 Sep 25, 2023
2 checks passed
@AdeelH AdeelH deleted the backport branch September 25, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants