VFA
VFA copied to clipboard
Visualizing the prediction results
How to visualize results like Figure 9 in the paper?

I would like to ask, I have a dataset of my own, how should I proceed to divide it step by step into a dataset suitable for small sample target detection? Thank you very much, is there an introductory document on this?
I would like to ask, I have a dataset of my own, how should I proceed to divide it step by step into a dataset suitable for small sample target detection? Thank you very much, is there an introductory document on this?
https://github.com/open-mmlab/mmfewshot/blob/main/tools/data/README.md
@SoonFa Just set some configs in test.py
https://github.com/csuhan/VFA/blob/e35411eb22b4fc48b524debe58dc7c09be2bf9a6/test.py#L30-L37
@SoonFa Just set some configs in
test.pyhttps://github.com/csuhan/VFA/blob/e35411eb22b4fc48b524debe58dc7c09be2bf9a6/test.py#L30-L37
when I run
python test.py configs/vfa/voc/vfa_split1/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning.py work_dirs/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning/iter_400.pth --eval mAP --show --show-dir ./imgs
some error come out
warnings.warn( [ ] 1/4952, 2.7 task/s, elapsed: 0s, ETA: 1855sTraceback (most recent call last): File "test.py", line 236, in
main() File "test.py", line 197, in main outputs = single_gpu_test(model, data_loader, args.show, args.show_dir, File "/home/zutcv/miniconda3/envs/VFA/lib/python3.8/site-packages/mmfewshot/detection/apis/test.py", line 72, in single_gpu_test result[i], IndexError: list index out of range
I would like to ask, I have a dataset of my own, how should I proceed to divide it step by step into a dataset suitable for small sample target detection? Thank you very much, is there an introductory document on this?
https://github.com/open-mmlab/mmfewshot/blob/main/tools/data/README.md
have seen this file. But what should be the contents of the individual files in the corresponding folder for a complete undisclosed dataset that I need to process into a small sample target detection dataset?
@SoonFa Just set some configs in
test.pyhttps://github.com/csuhan/VFA/blob/e35411eb22b4fc48b524debe58dc7c09be2bf9a6/test.py#L30-L37when I run
python test.py configs/vfa/voc/vfa_split1/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning.py work_dirs/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning/iter_400.pth --eval mAP --show --show-dir ./imgs
some error come out
warnings.warn( [ ] 1/4952, 2.7 task/s, elapsed: 0s, ETA: 1855sTraceback (most recent call last): File "test.py", line 236, in main() File "test.py", line 197, in main outputs = single_gpu_test(model, data_loader, args.show, args.show_dir, File "/home/zutcv/miniconda3/envs/VFA/lib/python3.8/site-packages/mmfewshot/detection/apis/test.py", line 72, in single_gpu_test result[i], IndexError: list index out of range
I have the same problem. Have you solved it?
@SoonFa Just set some configs in
test.pyhttps://github.com/csuhan/VFA/blob/e35411eb22b4fc48b524debe58dc7c09be2bf9a6/test.py#L30-L37when I run
python test.py configs/vfa/voc/vfa_split1/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning.py work_dirs/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning/iter_400.pth --eval mAP --show --show-dir ./imgs
some error come out
warnings.warn( [ ] 1/4952, 2.7 task/s, elapsed: 0s, ETA: 1855sTraceback (most recent call last): File "test.py", line 236, in main() File "test.py", line 197, in main outputs = single_gpu_test(model, data_loader, args.show, args.show_dir, File "/home/zutcv/miniconda3/envs/VFA/lib/python3.8/site-packages/mmfewshot/detection/apis/test.py", line 72, in single_gpu_test result[i], IndexError: list index out of range
I have solved it. Just change result[i] to result[0] and it works.
但是它生成的文件中并没有标书出的框?
但是它生成的文件中并没有标书出的框? Hello, have you solved this problem