Closed zaccharieramzi closed 2 years ago
Hello @zaccharieramzi, this is a pretty good idea, but I think we would probably prefer to have something a little more generic. Would you consider a lambda function that could be applied to the examples
attribute of SliceDataset
? You could use the lambda to filter based on any data stored in the examples
tuples.
Agreed. Let me work on this.
Maybe the only issue is then that you don't have argparse support, but I guess it can always be added by the end user.
Please:
It would be nice to be able to do the following:
This would enable:
I want this to perform finer evaluation anyway, so I can do a PR if interested.