there is something wrong
LeepoYang opened this issue · 1 comments
Traceback (most recent call last):
File "C:/Users/Administrator/Desktop/KGFlex-master/KGFlex-master/run.py", line 3, in
run_experiment("config_files/facebook-books_kgflex.yml")
File "C:\Users\Administrator\Desktop\KGFlex-master\KGFlex-master\elliot\run.py", line 49, in run_experiment
spec.loader.exec_module(external)
File "", line 843, in exec_module
File "", line 219, in call_with_frames_removed
File "external\models_init.py", line 1, in
from .kgflex import KGFlex
File "C:\Users\Administrator\Desktop\KGFlex-master\KGFlex-master\external\models\kgflex_init_.py", line 1, in
from .KGFlex import KGFlex
File "C:\Users\Administrator\Desktop\KGFlex-master\KGFlex-master\external\models\kgflex\KGFlex.py", line 11, in
from .UserFeatureMapper import UserFeatureMapper
File "C:\Users\Administrator\Desktop\KGFlex-master\KGFlex-master\external\models\kgflex\UserFeatureMapper.py", line 13, in
multiprocessing.set_start_method("fork")
File "C:\ProgramData\Anaconda3\envs\kgflex\lib\multiprocessing\context.py", line 247, in set_start_method
self._actual_context = self.get_context(method)
File "C:\ProgramData\Anaconda3\envs\kgflex\lib\multiprocessing\context.py", line 239, in get_context
return super().get_context(method)
File "C:\ProgramData\Anaconda3\envs\kgflex\lib\multiprocessing\context.py", line 193, in get_context
raise ValueError('cannot find context for %r' % method) from None
ValueError: cannot find context for 'fork'
Hi LeepoYang, did you run your code on Windows? I suggest using Ubuntu to grant that the multiprocessing library works properly.