Граф коммитов

36 Коммитов

Автор SHA1 Сообщение Дата
Ashwin Nair e572b74571
Fix for pre-commit (#1781) 2023-12-19 14:37:22 -06:00
Ashwin Nair d156f183ac
Update pre-commit config (#1715) 2023-11-06 11:04:30 +00:00
dependabot[bot] 94d0619fe5
Bump matplotlib from 3.8.0 to 3.8.1 in /requirements (#1708)
* Bump matplotlib from 3.8.0 to 3.8.1 in /requirements

Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.8.0...v3.8.1)

---
updated-dependencies:
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* plt.show now has type hints

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-11-01 23:00:12 +00:00
Adam J. Stewart 984e222790
Add command line script (#1559)
* Add command line script

* Label PRs correctly

* Flake8 fix

* Add callbacks

* Update all conf files

* Enforce class of model/data

* Update BYOL tests

* Update all tests

* Use default num workers: 0

* Variable interpolation only supported by omegaconf backend

* Fix regression tests

* Ensure that jsonargparse is installed during testing

* Bump minimimum lightning version

* Workaround for lightning/jsonargparse bugs

* Ignore Python 3.9 warning message

* Add test coverage for __main__.py

* Increase coverage of PixelwiseRegressionTask

* jsonargparse bug fixed in latest release

* Revert "jsonargparse bug fixed in latest release"

This reverts commit 4f38cdfca3.

* Use default logging frequency

* Ensure that metrics are actually logged

* Fix ObjectDetectionTask logging

* Ignore type errors

* Not all need to be ignored
2023-09-27 10:11:52 -07:00
Adam J. Stewart 1b0ca5a5a8
Ensure that none of our minimum version tests are skipped (#1587)
* Ensure that none of our minimum version tests are skipped

* Try pyvista instead

* Try no version

* What is going on

* Try pyvista 0.32.0

* Try pyvista 0.35.0

* Try pyvista 0.35.1

* Try pyvista 0.34.0

* Try pyvista 0.34.2

* Try pyvista 0.34.1

* 0.34.2 is the new min version
2023-09-25 10:51:36 -05:00
dependabot[bot] 6f72f1c6ff
Bump lightning from 2.0.8 to 2.0.9 in /requirements (#1564) 2023-09-18 20:18:30 +00:00
dependabot[bot] 2f0458db44
Bump lightning from 2.0.2 to 2.0.3 in /requirements (#1406)
* Bump lightning from 2.0.2 to 2.0.3 in /requirements

Bumps [lightning](https://github.com/Lightning-AI/lightning) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/2.0.2...2.0.3)

---
updated-dependencies:
- dependency-name: lightning
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update datamodule base class

* Check attributes first

* Fix remaining type hints

* More fixes

* Try again

* Try casting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-06-08 04:11:19 +00:00
Adam J. Stewart 5b74c971cb
Update test minversions, pyvista min version (#1276)
* Update test minversions

* Test newer pyvista

* Add headless server

* try pyvista 0.30.0

* try pyvista 0.27.0

* try pyvista 0.28.0

* try pyvista 0.29.0

* try pyvista 0.28.1

* pyvista 0.29 confirmed as min version
2023-04-24 13:34:49 -05:00
Isaac Corley d3c82a5ac8
Refactor train.py (#1237)
* add pretrain.py tested with seco100k

* refactor

* add pretrain.py tested with seco100k

* refactor

* refactor to train.py and add simclr

* revert simclr and pretrain.py changes

* revert more simclr changesg

* add refactor to configs and train.py

* add hydra.utils.instantiate import

* fix flake8

* update tests and add hydra-core to deps

* fix byol tests

* update exp name

* format

* remove evaluate.py

* add hydra-core to min tests deps

* update tests

* add trainer to configs and use lightning.Trainer insteead of pl.Trainer

* add eurosat100 test

* update train.py

* lightning.Trainer -> lightning.pytorch.Trainer

* remove omegaconf

* update hydra-core to 1.1.1 and fix mypy

* add recursive hydra config test

* update coment

* update test config

* fix tests

* add omegaconf back in

* remove hydra recursive test

* update hydra-core to 2.3.0 for ci

* Try older hydra

* Older hydra requires old omegaconf

* Try older hydra

* Try newer hydra

* Try older hydra

* Try newer hydra

* Finalize minimum dep versions

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-04-23 15:37:29 -07:00
Adam J. Stewart e0f9ece591
Drop Python 3.8 support (#1246) 2023-04-15 20:27:51 -05:00
dependabot[bot] 28ce9599de
Bump torchvision from 0.14.1 to 0.15.1 in /requirements (#1177)
* Bump torchvision from 0.14.1 to 0.15.1 in /requirements

Bumps [torchvision](https://github.com/pytorch/vision) from 0.14.1 to 0.15.1.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](https://github.com/pytorch/vision/compare/v0.14.1...v0.15.1)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump pytorch too

* Fix tests

* bump precommit

* blacken

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-03-16 17:28:39 +00:00
dependabot[bot] 392d46737c
Bump pytorch-lightning[extra] from 1.9.4 to 2.0.0 in /requirements (#1178)
* Bump pytorch-lightning[extra] from 1.9.4 to 2.0.0 in /requirements

Bumps [pytorch-lightning[extra]](https://github.com/Lightning-AI/lightning) from 1.9.4 to 2.0.0.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/1.9.4...2.0.0)

---
updated-dependencies:
- dependency-name: pytorch-lightning[extra]
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove deprecated features

* pytorch_lightning -> lightning

* bump radiant-mlhub too

* isort fix

* lightning does not yet have public type hints

* More ignores

* blanket ignore

* blanket ignore

* Fix function typo

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-03-16 11:14:48 -05:00
Ashwin Nair 524030c50b
Update pre-commit config (#1137) 2023-02-23 07:30:46 -07:00
dependabot[bot] 9cd3b99f35
Bump mypy from 0.991 to 1.0.0 in /requirements (#1089)
* Bump mypy from 0.991 to 1.0.0 in /requirements

Bumps [mypy](https://github.com/python/mypy) from 0.991 to 1.0.0.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.991...v1.0.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump upper bound

* mypy fixes

* Ignore undocumented base class

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-02-06 17:20:42 -06:00
dependabot[bot] 2fe0c1cf3e
Bump black[jupyter] from 22.12.0 to 23.1.0 in /requirements (#1080)
* Bump black[jupyter] from 22.12.0 to 23.1.0 in /requirements

Bumps [black[jupyter]](https://github.com/psf/black) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0)

---
updated-dependencies:
- dependency-name: black[jupyter]
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Style changes

* Resolve discrepancy between black and pydocstyle

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-02-01 22:26:54 +00:00
Adam J. Stewart fc7a993058
Drop Python 3.7 support (#1058)
* Drop Python 3.7 support

* Don't update torch

* Drop version specifier

* Update pyupgrade

* Update OpenCV

* Python 3.8-specific code changes

* Clean up step name

* bump pillow
2023-01-30 11:17:34 -06:00
Ashwin Nair 48b561dbca
Update pre-commit hooks (#987) 2022-12-29 08:34:21 -06:00
Ashwin Nair 1aae6d470f
Update pre-commit hooks (#904) 2022-11-17 11:05:58 -06:00
Ashwin Nair 3374074e2b
Update pre-commit hooks (#883) 2022-11-02 08:31:14 -05:00
Adam J. Stewart 3f47ea3a29
Update torchmetrics dep in other places (#832) 2022-10-13 16:16:58 -05:00
Ashwin Nair 90d6632c73
Update lightning dependency (#738) 2022-08-22 08:05:39 -07:00
Ashwin Nair 90458ab608
Update pre-commit config (#718) 2022-08-13 01:15:52 -05:00
Ashwin Nair 9971189762
Update pre-commit hooks (#558) 2022-06-06 18:49:21 +00:00
Adam J. Stewart 0a68c1549a
git pre-commit: run pyupgrade first (#494) 2022-04-05 09:15:59 -07:00
Ashwin Nair 7aa278e2de
Correct tag for pyupgrade hook (#490) 2022-03-30 17:14:56 +00:00
Adam J. Stewart f20f02a93a
Upgrade all files to Python 3.7+ syntax (#486)
* Upgrade all files to Python 3.7+ syntax

* Update contributing guide

* Move pyupgrade to correct section
2022-03-30 11:29:39 -05:00
Ashwin Nair 83f4be7dbd
Update hooks (#489) 2022-03-30 07:53:50 -05:00
Ashwin Nair 1d8e010442
Update hook (#464) 2022-03-15 08:36:51 -05:00
Ashwin Nair 3f7e525fbd
Hook update (#378) 2022-01-30 08:28:51 -06:00
Ashwin Nair b921ffb728
Add torchmetrics as pre-commit dependency (#362) 2022-01-19 12:50:54 -06:00
Ashwin Nair c955b0d093
Add numpy dependency (#346) 2022-01-01 01:53:34 -06:00
Ashwin Nair 41533ffb3e
Update hooks (#330) 2021-12-26 08:06:16 -06:00
Ashwin Nair 9040e72f8e
mypy v0.920 update (#299) 2021-12-17 14:18:50 +00:00
Adam J. Stewart 0eadac4e2c
black: skip magic trailing comma 2021-10-26 16:26:58 -05:00
Ashwin Nair 025ff43d53
Update pre-commit config (#204) 2021-10-23 02:07:38 -05:00
Ashwin Nair b48b5cd2ad
Merge pull request #137 from ashnair1/pre-commit
Add pre-commit config
2021-09-15 15:46:35 -07:00