mmfewshot icon indicating copy to clipboard operation
mmfewshot copied to clipboard

[Fix] tools/classification/test.py bug

Open hugh-98 opened this issue 3 years ago • 2 comments
trafficstars

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

hugh-98 avatar May 05 '22 02:05 hugh-98

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 05 '22 02:05 CLAassistant

LGTM

BIGWangYuDong avatar May 13 '22 09:05 BIGWangYuDong

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❤

OpenMMLab-Assistant-004 avatar Apr 12 '23 04:04 OpenMMLab-Assistant-004