-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 7a5434f08a361e19df8997496fd4d6cac400ee66 Author: Fernando Cervantes Sanchez <[email protected]> Date: Wed May 8 10:50:25 2024 -0400 Created documentation from source commit 6ff5f6239ddb89b5ff8228a956e3ca646fe34465 Merge: dd6a056 4afb0bd Author: Fernando Cervantes Sanchez <[email protected]> Date: Wed May 8 10:47:32 2024 -0400 Merge branch 'main' into gh-pages-dev commit dd6a0562351c8554ad7d31dcf41f16eb9ad5e6c7 Author: Fernando Cervantes Sanchez <[email protected]> Date: Wed May 8 10:46:43 2024 -0400 Added example for PatchSampler for inference commit 77311f42a0c7e74345f6a743ae4e1d5f5e5c16b6 Merge: 861fe51 fb57026 Author: Fernando Cervantes Sanchez <[email protected]> Date: Tue May 7 17:21:45 2024 -0400 Merge branch 'main' into gh-pages-dev commit 4afb0bd Author: Fernando Cervantes Sanchez <[email protected]> Date: Tue May 7 17:01:57 2024 -0400 Added example notebook to documentation commit 0f1d718 Author: Fernando Cervantes Sanchez <[email protected]> Date: Tue May 7 16:32:16 2024 -0400 Standardized patch sampling method to handle smaller and bigger mask scales than image scale commit 61995e2 Author: Fernando Cervantes Sanchez <[email protected]> Date: Thu May 2 15:59:57 2024 -0400 Fixed patch slices generation in PatchSampler to always retrieve patches of the defined shape commit 784906f Author: Fernando Cervantes Sanchez <[email protected]> Date: Thu May 2 10:38:54 2024 -0400 Added tests for stride and pad parameters of PatchSampler class commit 149cfc2 Author: Fernando Cervantes Sanchez <[email protected]> Date: Wed May 1 16:26:04 2024 -0400 Padding and stride added to PatchSampler and ImageBase classes to allow overlapping patches extraction commit 0de4ad1 Author: Fernando Cervantes Sanchez <[email protected]> Date: Tue Apr 30 10:51:24 2024 -0400 Fixed missing patches from chunks smaller than the input image chunk size commit bf8aae6 Author: Fernando Cervantes Sanchez <[email protected]> Date: Fri Apr 5 11:55:35 2024 -0400 Fixed spatial chunk size computation when patch sizes are grater than the chunk size commit 3a53ef5 Author: Fernando Cervantes Sanchez <[email protected]> Date: Fri Mar 29 16:46:02 2024 -0400 Reverted change in the computation when masks elements are relative smaller than patch sizes commit 43c2942 Author: Fernando Cervantes Sanchez <[email protected]> Date: Fri Mar 29 14:46:38 2024 -0400 Changed PatchSampler to take as base the patche size instead of the input image's chunk sizes commit fb57026 Author: Fernando Cervantes Sanchez <[email protected]> Date: Fri Oct 6 14:04:50 2023 -0400 Integration of CI/CD practices (#2) * Integration CI/CD pipeline to this project * Corrected github actions test workflow * Install the package before test it * Created empty __init__.py inside tests to record coverage * Changed name of sample_images_generator.py to utils.py for clarity * Updated test workflow to use a non-supported workaround for the multiple OpenMP runtime library issue * Updated test workflow to report coverage * Moved non-pytorch compatibility test to last position * Added test for datasets with zero expected samples
- Loading branch information
Showing
186 changed files
with
10,466 additions
and
16,144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Run Tests on push | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install ependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install torch==1.13.1+cpu torchvision==0.14.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu | ||
pip install tqdm==4.66.1 | ||
pip install tifffile==2023.9.26 | ||
pip install . | ||
- name: Test with pytest | ||
run: | | ||
pip install pytest pytest-cov | ||
# When using pytest and pytorch at the same time, an error of multiple copied of OpenMP runtime library will rise. | ||
# This is a well known issue and is the reason of why pytorch uses unitest for testing and not pytest. | ||
# This is a non-recomended, non-supported, and therefore non-elegant solution for that problem, but at least let run the test suite. | ||
export KMP_DUPLICATE_LIB_OK=TRUE | ||
pytest tests --cov=zarrdataset | ||
coverage report -m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ coverage.xml | |
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
example.py | ||
|
||
# Translations | ||
*.mo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 900738c030f46fa25ebb5b39170cc7e4 | ||
config: 5704830082c07750dd4f65112d73bff2 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-2.3 KB
(98%)
docs/.doctrees/autoapi/zarrdataset/_imageloaders/index.doctree
Binary file not shown.
Binary file modified
BIN
-219 Bytes
(99%)
docs/.doctrees/autoapi/zarrdataset/_maskfuncs/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-5.83 KB
(98%)
docs/.doctrees/autoapi/zarrdataset/_zarrdataset/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-1.31 KB
(96%)
docs/.doctrees/examples/advanced_masked_datasets_example.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-2.46 KB
(90%)
docs/.doctrees/examples/basic_labeled_datasets_example.doctree
Binary file not shown.
Binary file modified
BIN
-1.46 KB
(94%)
docs/.doctrees/examples/basic_masked_datasets_example.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-94.3 KB
docs/_images/10c0688efdd4c373469d4b2fad3e9f07a0a1bc3938611fff89a858e17eccd0a0.png
Binary file not shown.
Binary file added
BIN
+94.9 KB
docs/_images/1528ca22aa9e20c37abe9ccb2a01949c073ee4c570c4bbbd74470c352dfefaad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-13.2 KB
docs/_images/1ddb40eec18c790a468ed22c33d9c5408a8dd92bb70786de64906450c6a1328b.png
Binary file not shown.
Binary file removed
BIN
-80.3 KB
docs/_images/284bd1500b03d8fd065dbd9eaee853fdc86a95176ebecbf8c97e8545cfba3b26.png
Binary file not shown.
Binary file renamed
BIN
+112 KB
...8fef2bcdfb3839bfda7758e9a80d2268a8ae0.png → ...73bd89eb5ff02db286383554d5399b26888e6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+141 KB
docs/_images/31d137495ce407f7d99f490ba69d6a5f41888c28cde21228a2f328edfa8e40cc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-98.6 KB
docs/_images/38a14f61047648036e141d3c632dba37af9066300a151d29c8b4c8b81feb7220.png
Binary file not shown.
Binary file added
BIN
+333 KB
docs/_images/3be027298b03a07f90dfb75295e5c9397e2b327d1555bbb30091d66e0f9a8530.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+98.9 KB
docs/_images/3df2b153ce1d397ef26580e18fca6fabc6fa681bcb24ee1065f4744e6ddc3726.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file renamed
BIN
+28.3 KB
...9f1ce7abd88d814ed4fe76ef8d68db7e7a20e.png → ...d7338b673a6242d18092bb4a0a2e8af4991e6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-104 KB
docs/_images/42fe9617dbfd95e5cd0e49a04e46a2c31749b53f8ec60cc211baa6b1fc43839e.png
Binary file not shown.
Binary file added
BIN
+80.6 KB
docs/_images/436ea478c2ee0d47a17897babbdadb6f03141f6ce5da68079b1003253690ac07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+106 KB
docs/_images/442afeaee0db8644a42ce68c122ccca163d886ecfcaf09919887d754abf3a9f4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-93.3 KB
docs/_images/45ab7f50e82c785d3067486cc95251eb17f8251bdf410af9dfc8198a5efdc1b4.png
Binary file not shown.
Binary file removed
BIN
-332 KB
docs/_images/4b04bb3f7d978a4bb0fa0d6f26e7e8c4f1ef1215bcc0504c9f66dc4f915c7579.png
Binary file not shown.
Binary file removed
BIN
-106 KB
docs/_images/4f1b8c74ed0d04804ca5d4a9a0e37577fc7181043fdbf3e7de98719a8e4761c0.png
Binary file not shown.
Binary file added
BIN
+13.8 KB
docs/_images/523c9cb27868c1f9957633dfa750a39e75335ba153fa5f301d10035d659dcb2c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-59.1 KB
docs/_images/546b7437007e4b4c05161d8a64f9f506e92e7411e065c4da18d130c20f0af04f.png
Binary file not shown.
Binary file added
BIN
+302 KB
docs/_images/581d6cf1ef0478d96c82490e1c35a2803eb79b5caecadbb41767db6d594577b2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-129 KB
docs/_images/5c7c833fd17625ecdc07808087725c86964ec2d9a2da87d1f87a55c4624f59b8.png
Binary file not shown.
Binary file added
BIN
+59.4 KB
docs/_images/628f1844e583b33a7d21cfb31d784a0127a2d2e0b31286c7e6a97418267d54b6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-23.4 KB
docs/_images/65b572fcf82244a99506ade52de4e79392d9b28a7575bda6661981a5249498a4.png
Binary file not shown.
Binary file removed
BIN
-111 KB
docs/_images/729ff62ab307b4d4962dc6cbe80b42878c9ae64047653f59ee078f85e3143f8e.png
Binary file not shown.
Binary file removed
BIN
-334 KB
docs/_images/759c21caeefcd6a675de044a901404b2cfe633e307d03bbbbcb77ee793965f7a.png
Binary file not shown.
Binary file removed
BIN
-301 KB
docs/_images/814268db89f42890550699958d70ba22100af9e60c37c24c9d15b65de4b39add.png
Binary file not shown.
Binary file removed
BIN
-98.2 KB
docs/_images/9321cb48ee042a15c373b9c81d4b76fe89dc6341a4b03c93295b97901385b10c.png
Diff not rendered.
Binary file added
BIN
+106 KB
docs/_images/95f58c26684cbbe45de43ea15a89e02104a9413ae12920b7239a452de73e9dd4.png
Oops, something went wrong.
Binary file added
BIN
+7.48 KB
docs/_images/a11a8287536a394bfb61f648349fa849ec30be6019e44c5e83d5dd39647db45a.png
Oops, something went wrong.
Binary file removed
BIN
-7.32 KB
docs/_images/a315a7043534741ef8e5af67b62b88b66a39401fa1323cbce4e78677fbbfbef4.png
Diff not rendered.
Binary file added
BIN
+112 KB
docs/_images/b5fc7c1e8c771ba15f40e2bc046ece21d212137494de55adb8827adb748fae85.png
Oops, something went wrong.
Binary file added
BIN
+373 KB
docs/_images/b81b5e68fea296a45ecf3fb8038c73c05814c5ee297739ea62e161e40cde4e35.png
Oops, something went wrong.
Binary file added
BIN
+23.6 KB
docs/_images/c0aad9886864fd5540f95b7de730df00d72537e30f3657afab993ac8af83f29f.png
Oops, something went wrong.
Binary file added
BIN
+335 KB
docs/_images/d495d73aa08da19be90e594be5c54833cf2e178ae7cae10432fb766694918ab3.png
Oops, something went wrong.
Binary file added
BIN
+129 KB
docs/_images/e1f81ad79bdec8d2d1e0b42caadd6aeedc1c4b984f42f2245afab36b2797d930.png
Oops, something went wrong.
Binary file added
BIN
+99.2 KB
docs/_images/e2305cad629c84402e8d92c46063e80ab2e9403f84f20b4a8f666a6184359bbf.png
Oops, something went wrong.
Binary file removed
BIN
-372 KB
docs/_images/e771d152f9dbe94148fc4addcb61d975657816cfb11dc8fc7d8196c89372c06c.png
Diff not rendered.
Binary file added
BIN
+93.6 KB
docs/_images/e880a407e638d92dfbb3ecddfb7e77f00928d4513ef46732aad1a34f268aaba6.png
Oops, something went wrong.
Binary file removed
BIN
-140 KB
docs/_images/ed8dde5da314fd71e374da3c93d23bbfc0cdcfe260f0f753b63ac1cb29e9e5e7.png
Diff not rendered.
Binary file renamed
BIN
+23.7 KB
...1f1275898f67dd64127f0713a90c12b8f7072.png → ...5bba05ff10df6a34478c6594d6411e4c252c1.png
Oops, something went wrong.
Binary file removed
BIN
-43.1 KB
docs/_images/fb630474c71de89ee3caa6802976f1163c3c0f693073ade571d1fcb0dd209bf4.png
Diff not rendered.
Binary file added
BIN
+43.9 KB
docs/_images/fe86b6d8810d299e3543743032a0cbcd4eba27c089864fb48df21d03d4fcb6f6.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.