mmfewshot
mmfewshot copied to clipboard
Is it possible to provide a 5-shot classification demo program?
I can successfully run the 1-shot demo program, but I don't know how to inference about the 5-shot model. "DEMO"
5-shot could test 1-shot model with '../../base/meta_test/xxx_meta-test_5way-5shot.py' config for 1shot test the step is 150, so 5shot is 600 just like the config file show meta_finetune_cfg = dict( num_steps=600, optimizer=dict( type='SGD', lr=0.01, momentum=0.9, dampening=0.9, weight_decay=0.001))
I want a 5-shot code similar to "demo_metric_classifier_1_shot_inference.py", Using for visualization.