{"action":"opened","issue":{"url":"https://api.github.com/repos/faneshion/MatchZoo/issues/84","repository_url":"https://api.github.com/repos/faneshion/MatchZoo","labels_url":"https://api.github.com/repos/faneshion/MatchZoo/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/faneshion/MatchZoo/issues/84/comments","events_url":"https://api.github.com/repos/faneshion/MatchZoo/issues/84/events","html_url":"https://github.com/faneshion/MatchZoo/issues/84","id":316150103,"number":84,"title":"ValueError: Error when checking target: expected dense_1 to have shape (None, 2) but got array with shape (400, 1) if I user PairGenerator","user":{"login":"loveJasmine","id":18051187,"avatar_url":"https://avatars2.githubusercontent.com/u/18051187?v=4","gravatar_id":"","url":"https://api.github.com/users/loveJasmine","html_url":"https://github.com/loveJasmine","followers_url":"https://api.github.com/users/loveJasmine/followers","following_url":"https://api.github.com/users/loveJasmine/following{/other_user}","gists_url":"https://api.github.com/users/loveJasmine/gists{/gist_id}","starred_url":"https://api.github.com/users/loveJasmine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loveJasmine/subscriptions","organizations_url":"https://api.github.com/users/loveJasmine/orgs","repos_url":"https://api.github.com/users/loveJasmine/repos","events_url":"https://api.github.com/users/loveJasmine/events{/privacy}","received_events_url":"https://api.github.com/users/loveJasmine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T07:00:04Z","updated_at":"2018-04-20T07:00:04Z","closed_at":null,"author_association":"NONE","body":"[Model] Model Compile Done.\r\n[04-20-2018 14:58:52]\t[Train--:train] on func:make_pair_iter at file:pair_generator.py #61\r\nTraceback (most recent call last):\r\n  File \"matchzoo/main.py\", line 347, in <module>\r\n    main(sys.argv)\r\n  File \"matchzoo/main.py\", line 339, in main\r\n    train(config)\r\n  File \"matchzoo/main.py\", line 166, in train\r\n    verbose = 0\r\n  File \"/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/legacy/interfaces.py\", line 87, in wrapper\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/engine/training.py\", line 2039, in fit_generator\r\n    class_weight=class_weight)\r\n  File \"/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/engine/training.py\", line 1753, in train_on_batch\r\n    check_batch_axis=True)\r\n  File \"/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/engine/training.py\", line 1381, in _standardize_user_data\r\n    exception_prefix='target')\r\n  File \"/usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/engine/training.py\", line 144, in _standardize_input_data\r\n    str(array.shape))\r\nValueError: Error when checking target: expected dense_1 to have shape (None, 2) but got array with shape (400, 1)"}}
{"actor":{"display_login":"loveJasmine"}}