{"action":"created","issue":{"url":"https://api.github.com/repos/umich-vl/CornerNet/issues/17","repository_url":"https://api.github.com/repos/umich-vl/CornerNet","labels_url":"https://api.github.com/repos/umich-vl/CornerNet/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/umich-vl/CornerNet/issues/17/comments","events_url":"https://api.github.com/repos/umich-vl/CornerNet/issues/17/events","html_url":"https://github.com/umich-vl/CornerNet/issues/17","id":356683953,"node_id":"MDU6SXNzdWUzNTY2ODM5NTM=","number":17,"title":"How can I predict the objects in my own pictures？","user":{"login":"Iric2018","id":34853870,"node_id":"MDQ6VXNlcjM0ODUzODcw","avatar_url":"https://avatars1.githubusercontent.com/u/34853870?v=4","gravatar_id":"","url":"https://api.github.com/users/Iric2018","html_url":"https://github.com/Iric2018","followers_url":"https://api.github.com/users/Iric2018/followers","following_url":"https://api.github.com/users/Iric2018/following{/other_user}","gists_url":"https://api.github.com/users/Iric2018/gists{/gist_id}","starred_url":"https://api.github.com/users/Iric2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iric2018/subscriptions","organizations_url":"https://api.github.com/users/Iric2018/orgs","repos_url":"https://api.github.com/users/Iric2018/repos","events_url":"https://api.github.com/users/Iric2018/events{/privacy}","received_events_url":"https://api.github.com/users/Iric2018/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-09-04T07:26:24Z","updated_at":"2018-09-18T01:58:29Z","closed_at":null,"author_association":"NONE","body":"I just replace the images with my own images of the file  testdev2017，then run the python test.py CornerNet --testiter 500000 --split testing，and the error come up as follow：\r\ncfg_file: ./config/CornerNet.json\r\nloading all datasets...\r\nsplit: testdev\r\nloading from cache file: ./cache/coco_testdev2017.pkl\r\nNo cache file found...\r\nloading annotations into memory...\r\nDone (t=0.05s)\r\ncreating index...\r\nindex created!\r\n20288it [00:08, 2410.16it/s]\r\nloading annotations into memory...\r\nDone (t=0.05s)\r\ncreating index...\r\nindex created!\r\nsystem config...\r\n{'batch_size': 49,\r\n 'cache_dir': './cache',\r\n 'chunk_sizes': [4, 5, 5, 5, 5, 5, 5, 5, 5, 5],\r\n 'config_dir': './config',\r\n 'data_dir': './data',\r\n 'data_rng': <mtrand.RandomState object at 0x7f847ac04438>,\r\n 'dataset': 'MSCOCO',\r\n 'decay_rate': 10,\r\n 'display': 5,\r\n 'learning_rate': 0.00025,\r\n 'max_iter': 500000,\r\n 'nnet_rng': <mtrand.RandomState object at 0x7f847ac04480>,\r\n 'opt_algo': 'adam',\r\n 'prefetch_size': 5,\r\n 'pretrain': None,\r\n 'result_dir': './results',\r\n 'sampling_function': 'kp_detection',\r\n 'snapshot': 5000,\r\n 'snapshot_name': 'CornerNet',\r\n 'stepsize': 450000,\r\n 'test_split': 'testdev',\r\n 'train_split': 'trainval',\r\n 'val_iter': 100,\r\n 'val_split': 'minival',\r\n 'weight_decay': False,\r\n 'weight_decay_rate': 1e-05,\r\n 'weight_decay_type': 'l2'}\r\ndb config...\r\n{'ae_threshold': 0.5,\r\n 'border': 128,\r\n 'categories': 80,\r\n 'data_aug': True,\r\n 'gaussian_bump': True,\r\n 'gaussian_iou': 0.7,\r\n 'gaussian_radius': -1,\r\n 'input_size': [511, 511],\r\n 'lighting': True,\r\n 'max_per_image': 100,\r\n 'merge_bbox': False,\r\n 'nms_algorithm': 'exp_soft_nms',\r\n 'nms_kernel': 3,\r\n 'nms_threshold': 0.5,\r\n 'output_sizes': [[128, 128]],\r\n 'rand_color': True,\r\n 'rand_crop': True,\r\n 'rand_pushes': False,\r\n 'rand_samples': False,\r\n 'rand_scale_max': 1.4,\r\n 'rand_scale_min': 0.6,\r\n 'rand_scale_step': 0.1,\r\n 'rand_scales': array([0.6, 0.7, 0.8, 0.9, 1. , 1.1, 1.2, 1.3]),\r\n 'special_crop': False,\r\n 'test_scales': [1],\r\n 'top_k': 100,\r\n 'weight_exp': 8}\r\nloading parameters at iteration: 500000\r\nbuilding neural network...\r\nmodule_file: models.CornerNet\r\ntotal parameters: 201035212\r\nloading parameters...\r\nloading model from ./cache/nnet/CornerNet/CornerNet_500000.pkl\r\nlocating kps:   0%|                         | 1/20288 [00:00<2:44:31,  2.06it/s]\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 99, in <module>\r\n    test(testing_db, args.split, args.testiter, args.debug, args.suffix)\r\n  File \"test.py\", line 61, in test\r\n    testing(db, nnet, result_dir, debug=debug)\r\n  File \"/home/dc2-user/CornerNet-master/test/coco.py\", line 204, in testing\r\n    return globals()[system_configs.sampling_function](db, nnet, result_dir, debug=debug)\r\n  File \"/home/dc2-user/CornerNet-master/test/coco.py\", line 77, in kp_detection\r\n    height, width = image.shape[0:2]\r\nAttributeError: 'NoneType' object has no attribute 'shape'\r\nWhat should I do？Thanks。"},"comment":{"url":"https://api.github.com/repos/umich-vl/CornerNet/issues/comments/422227916","html_url":"https://github.com/umich-vl/CornerNet/issues/17#issuecomment-422227916","issue_url":"https://api.github.com/repos/umich-vl/CornerNet/issues/17","id":422227916,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjIyNzkxNg==","user":{"login":"Iric2018","id":34853870,"node_id":"MDQ6VXNlcjM0ODUzODcw","avatar_url":"https://avatars1.githubusercontent.com/u/34853870?v=4","gravatar_id":"","url":"https://api.github.com/users/Iric2018","html_url":"https://github.com/Iric2018","followers_url":"https://api.github.com/users/Iric2018/followers","following_url":"https://api.github.com/users/Iric2018/following{/other_user}","gists_url":"https://api.github.com/users/Iric2018/gists{/gist_id}","starred_url":"https://api.github.com/users/Iric2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iric2018/subscriptions","organizations_url":"https://api.github.com/users/Iric2018/orgs","repos_url":"https://api.github.com/users/Iric2018/repos","events_url":"https://api.github.com/users/Iric2018/events{/privacy}","received_events_url":"https://api.github.com/users/Iric2018/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T01:58:29Z","updated_at":"2018-09-18T01:58:29Z","author_association":"NONE","body":"I reduce the batch size to 2， but the memory is still not enough。Could you tell me the minimum configuration of GPU?"}}
{"actor":{"display_login":"Iric2018"}}