{"action":"closed","issue":{"url":"https://api.github.com/repos/precedenceguo/mx-rcnn/issues/17","repository_url":"https://api.github.com/repos/precedenceguo/mx-rcnn","labels_url":"https://api.github.com/repos/precedenceguo/mx-rcnn/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/precedenceguo/mx-rcnn/issues/17/comments","events_url":"https://api.github.com/repos/precedenceguo/mx-rcnn/issues/17/events","html_url":"https://github.com/precedenceguo/mx-rcnn/issues/17","id":167552163,"number":17,"title":"__init__() got an unexpected keyword argument 'fixed_param_names'","user":{"login":"neodooth","id":1276769,"avatar_url":"https://avatars.githubusercontent.com/u/1276769?v=3","gravatar_id":"","url":"https://api.github.com/users/neodooth","html_url":"https://github.com/neodooth","followers_url":"https://api.github.com/users/neodooth/followers","following_url":"https://api.github.com/users/neodooth/following{/other_user}","gists_url":"https://api.github.com/users/neodooth/gists{/gist_id}","starred_url":"https://api.github.com/users/neodooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neodooth/subscriptions","organizations_url":"https://api.github.com/users/neodooth/orgs","repos_url":"https://api.github.com/users/neodooth/repos","events_url":"https://api.github.com/users/neodooth/events{/privacy}","received_events_url":"https://api.github.com/users/neodooth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-26T08:45:54Z","updated_at":"2016-07-26T09:11:24Z","closed_at":"2016-07-26T09:11:24Z","body":"Hi, when trying to train I encountered this error\r\n\r\n  File \"train_alternate.py\", line 26, in alternate_train\r\n    'model/rpn1', ctx, begin_epoch, rpn_epoch, frequent, kv_store, work_load_list)\r\n  File \"/some/path/mx-rcnn/tools/train_rpn.py\", line 101, in train_rpn\r\n    arg_params=args, aux_params=auxs, begin_epoch=begin_epoch, num_epoch=end_epoch)\r\n  File \"/some/path/mxnet/python/mxnet/module/base_module.py\", line 333, in fit\r\n    for_training=True, force_rebind=force_rebind)\r\n  File \"/some/path/mx-rcnn/rcnn/module.py\", line 135, in bind\r\n    fixed_param_names=self._fixed_param_names)\r\nTypeError: __init__() got an unexpected keyword argument 'fixed_param_names'\r\n\r\nas I checked the code, mx-rcnn/rcnn/module.py  line 135 is\r\n`module = Module(self._symbol, self._data_names, self._label_names, logger=self.logger,\r\n                        context=self._context, work_load_list=self._work_load_list,\r\n                        fixed_param_names=self._fixed_param_names)`\r\n\r\nand the \"Module\" is\r\n`from mxnet.module.module import Module`\r\n\r\nthere is no \"fixed_param_prefix\" in the \\__init__ of this \"Module\". But there is a keyword \"fixed_param_prefix\" in the \\__init__ of \"MutableModule\". So maybe line 135 should be changed like this?\r\n`module = MutableModule(..., fixed_param_prefix=self._fixed_param_names)`"}}
{"actor":{"display_login":"neodooth"}}