-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a error during loading data #13
Comments
Hi, WallE-Chang! I'm having the same situation here. (Have you found any solution?) 2018-09-21 16:38:48 INFO: start loading data --- Logging error --- During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Hi, guys. Thanks for reporting the bug. This bug likely to be caused by a mismatch when pyirt map the long format to user2item and item2user sparse storage. Can you kindly share the data with me so that I can use it as unit-test in the bug-fix test. |
Hi the issue is still persisting. Is it fixed in the latest release? |
I think the problem should be fixed @ 0.3.4, which is just released on pypi. However, I never get to add the unittest so I cannot be sure it is so. I re-open this issue so if it is not fixed, pls let me know. |
Hi I updated to 0.3.4. Its working now. Thanks a lot :). |
good job !!! However, I can't wait to fix it and wrote a tensorflow_irt by myself 23333 |
I would love to see that on your github if you can share it. I did not even know you can put structure on neural network |
@junchenfeng Sorry, I can not share it owing of copyright of my ex company. However, you can use gradient decent replacing EM algorithm. |
Hi ,this is a really good tool to use. But I encounter some problem, I feed data with colmuns=[user_ID,item_ID,choice], but get error. However, I choose the part of data, It sometimes works. I find that if a item is all aright or all false pyirt will return error.
`2018-08-13 16:09:20 INFO: data loaded
data loaded
data loaded
data loaded
data loaded
data loaded
data loaded
data loaded
data loaded
data loaded
100%|████████████████████████████████████████████████████████████████████████| 10000/10000 [00:55<00:00, 179.29it/s]
0%| | 0/61615 [00:00<?, ?it/s]
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
--- Logging error ---
Traceback (most recent call last):
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 992, in emit
msg = self.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 838, in format
return fmt.format(record)
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 575, in format
record.message = record.getMessage()
File "/home/lb/anaconda3/lib/python3.6/logging/init.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 394, in __get_expect_count
procs = procs_operator(procs, 7200, 0.1)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 27, in procs_operator
p.start()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 105, in start
self._popen = self._Popen(self)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/popen_fork.py", line 74, in _launch
code = process_obj._bootstrap()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 373, in update
self.logger.critical("Unexpected error:", str(e))
Message: 'Unexpected error:'
Arguments: ('174',)
Process Process-168:
Traceback (most recent call last):
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 374, in update
raise e
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 367, in update
map_user_idx_vec = self.dao.get_map(item_idx, ['1', '0'])
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in get_map
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
File "/home/lb/pyirt-master/pyirt/dao.py", line 150, in
return [self.database.item2user_map[str(ans_key)][item_idx] for ans_key in ans_key_list]
KeyError: 174
Traceback (most recent call last):
File "", line 1, in
File "/home/lb/pyirt-master/pyirt/_pyirt.py", line 46, in irt
mod.solve_EM()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 101, in solve_EM
self._exp_step()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 161, in _exp_step
self.__get_expect_count()
File "/home/lb/pyirt-master/pyirt/solver/model.py", line 399, in __get_expect_count
self.item_expected_right_by_theta[:, item_idx] = procs_repo[item_idx][1]
File "", line 2, in getitem
File "/home/lb/anaconda3/lib/python3.6/multiprocessing/managers.py", line 772, in _callmethod
raise convert_to_error(kind, result)
KeyError: 174
`
The text was updated successfully, but these errors were encountered: