v1.2.0
🎉 EasyFSL is now fully tested for Python 3.10!
There were also a lot of issues before related to TaskSampler being too permissive, causing downstream errors that were hard to understand. So now you get an explicit error with TaskSampler if you:
- initialize it with a dataset that's too small (number of classes smaller than
n_way, or number of instances in a class smaller thann_shot + n_query) - call
TaskSampler.episodic_collate_fn()with input data that is not a(Tensor, int)or(Tensor, Tensor[0-dim int])tuple.
Thanks to @Aml-Hassan-Abd-El-hamid for their good will and contribution.