| | |
| | | cvWaitKey(0); |
| | | } |
| | | |
| | | void features_VOC_image(char *image_file, char *image_dir, char *out_dir, int flip) |
| | | void features_VOC_image(char *image_file, char *image_dir, char *out_dir, int flip, int interval) |
| | | { |
| | | int interval = 4; |
| | | int i,j; |
| | | network net = parse_network_cfg("cfg/voc_imagenet.cfg"); |
| | | char image_path[1024]; |
| | |
| | | // test_im2row(); |
| | | //test_split(); |
| | | //test_ensemble(); |
| | | test_nist(); |
| | | //test_nist(); |
| | | //test_cifar10(); |
| | | //test_vince(); |
| | | //test_full(); |
| | | //train_VOC(); |
| | | //features_VOC_image(argv[1], argv[2], argv[3], 0); |
| | | //features_VOC_image(argv[1], argv[2], argv[3], 1); |
| | | features_VOC_image(argv[1], argv[2], argv[3], 0, 4); |
| | | features_VOC_image(argv[1], argv[2], argv[3], 1, 4); |
| | | //features_VOC_image_size(argv[1], atoi(argv[2]), atoi(argv[3])); |
| | | //visualize_imagenet_features("data/assira/train.list"); |
| | | //visualize_imagenet_topk("data/VOC2012.list"); |