Repository navigation
Port Eval Pipeline from csv backend to MetaDataset backend - #217
Merged
Merged
Conversation
Now we do not use csv files anymore, but numpy memory maps which is faster and scales way better.
Collaborator
Author
|
This closes #201 |
pesser
requested changes
Dec 13, 2019
pesser
left a comment
Owner
There was a problem hiding this comment.
Looking forward to have the MetaDataset integrated in the evaluation pipeline!
| @@ -119,6 +119,7 @@ def eval_op(self, inputs): | |||
| from edflow.data.util import adjust_support | |||
| from edflow.util import walk, retrieve, pop_keypath | |||
| from edflow.data.dataset import DatasetMixin, CsvDataset, ProcessedDataset | |||
| self.logger.info( | ||
| "To directly reuse the data simply use the following command:\n" | ||
| + "from edflow.data.believers.meta import MetaDataset\n" | ||
| + f'M = MetaDataset("{os.path.abspath(self.save_root)}"\n)' |
|
|
||
| class EvalDataFolder(DatasetMixin): | ||
| """ """ | ||
| class EvalDataFolder(MetaDataset): |
Collaborator
Author
There was a problem hiding this comment.
Agreed! Will be done asap
Owner
|
Currently, the following example produces Somewhere, the 'p' is deleted. Please check that this PR fixes it. |
Removes old loading functionality. We should probably think about adding a conversion script of the old style outputs to the new ones.
Collaborator
Author
I thought this was fixed! 😦 Will take a look at it |
remove useless conversion from string to dict
after talk with jhaux, agreed to log only exceptional case
pesser
requested changes
Jan 10, 2020
pesser
left a comment
Owner
There was a problem hiding this comment.
this makes everything much cleaner. one minor change and we can merge
jhaux
force-pushed
the
port_evaldatafolder
branch
from
January 10, 2020 14:13
2c13809 to
3a2c18c
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is a breaking change, old exported data cannot be loaded after this change and needs to be converted.
The following has changed:
name:loaderkey.model_outputs/labels.