LibFewShot
LibFewShot copied to clipboard
[Method] metal && [FIX] update pre-commit-config
- add metal (ICCV 2021) method in meta
- update pre-commit-config:
- https://github.com/pre-commit/pre-commit-hooks v4.0.1 -> v4.6.0
- https://github.com/psf/black 21.7b0 -> 24.4.2
- https://gitlab.com/pycqa/flake8 -> https://github.com/PyCQA/flake8 3.9.2 -> 7.1.0
- logs: core/model/backbone/utils/bdc_pool.py:79:5: E741 ambiguous variable name 'I' core/model/backbone/utils/bdc_pool.py:100:5: E741 ambiguous variable name 'I' core/model/finetuning/frn_pretrain.py:103:9: F841 local variable 'd' is assigned to but never used core/model/finetuning/frn_pretrain.py:127:9: F841 local variable 'episode_size' is assigned to but never used core/model/finetuning/frn_pretrain.py:153:9: F841 local variable 'episode_size' is assigned to but never used core/model/finetuning/frn_pretrain.py:166:9: F841 local variable 'episode_size' is assigned to but never used core/model/meta/metal.py:316:13: F841 local variable 'out' is assigned to but never used core/model/metric/frn.py:82:9: F841 local variable 'd' is assigned to but never used
- future: update python version from 3.7 to 3.10 or 3.12