mmfewshot
mmfewshot copied to clipboard
[Fix] tools/classification/test.py bug
Motivation
When run the following command according to document, a error (AttributeError: 'Namespace' object has no attribute 'out') will be reported.
python ./tools/classification/test.py \
configs/classification/baseline/cub/baseline_conv4_1xb64_cub_5way-1shot.py \
checkpoints/SOME_CHECKPOINT.pth
Modification
replace args.out with args.work_dir
LGTM
Hi @hugh-98 !We are grateful for your efforts in helping improve mmfewshot open-source project during your personal time. Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:) Thank you again for your contribution❤