This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Load features for classification #104
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
1f1c728
Added H5Slide reader and fixed reshaping in backend
moerlemans 5eb07b3
added database models for features
moerlemans 117b66e
added loading features as a dataset + necessary utils
moerlemans 0d19bf3
fix black
moerlemans 7fcf23e
improved classification pre_transforms and added random sampling of t…
moerlemans c8e1b7c
Added specific tile_size and size to the writer, so that the reader c…
moerlemans d9d6346
Added DataFormat enum that handles reading features in the readers an…
moerlemans 7094379
fix bugs in database models
moerlemans e29fa3d
added ahcore ImageBackend enum which includes both ahcore and dlup ba…
moerlemans 65d3ef2
added dataformat enum and fixed loading of datasets to work with feat…
moerlemans eedee6f
Fixes pretransforms to be used on features, also allows for option to…
moerlemans f58c656
minor fixes to allow models for classification
moerlemans aad8637
Adapt for dataformat enum
moerlemans 0a3dcb3
added SetTarget method which chooses what the target will be in the l…
moerlemans 2e24cb1
precommit fixes and removed the three pixel check, dlup will fix that
moerlemans cc9ea49
model will expect Bxnum_tilesxfeature_dim, so the ToTensor method sho…
moerlemans e60768d
merge with main, fixes mypy
moerlemans 0d97c4a
fix some mypy
moerlemans f5c08dc
fixes mypy
moerlemans ec9285d
fix test for readers
moerlemans cb2d42b
Merge branch 'main' into feature/feature-dataset
moerlemans 0c0d1e4
added tests for features
moerlemans 8adffcc
cross_entropy now handles BxC inputs as well, also improved logic
moerlemans 5eea88d
make dimension work out for labels
moerlemans c26910a
simplify reader and dataset builders
moerlemans 7efaa70
fix writers and tests for writers
moerlemans 2d83964
fix test, mypy and file_writer + callback
moerlemans 71bb871
now also passes tests...
moerlemans ae580cb
mypy, pylint and it runs now
moerlemans ea8a330
bugfixes to make the writer working
moerlemans 88dff49
cleaned feature description and manifest
moerlemans e43c5ae
fixes review comments
moerlemans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would make the mpp equal to the factor of the tile size and mpp.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not fully understand what you mean here, but these settings are mainly here so that the reader gets them correctly. I can change the mpp as long as the reader also reads at that specific mpp. 1.0 was chosen now for ease