HerrMuellerluedenscheid / pinky

Deep learning toolbox for earthquake localization and detection
MIT License
32 stars 10 forks source link

problem when running "pinky --config pinky.config " #5

Open pdy265 opened 1 year ago

pdy265 commented 1 year ago

I encounter this problem when running "pinky --config pinky.config " Traceback (most recent call last): File "D:\miniconda3\envs\AI4Pinky\Scripts\pinky-script.py", line 33, in sys.exit(load_entry_point('pinky==0.1', 'console_scripts', 'pinky')()) File "D:\miniconda3\envs\AI4Pinky\Scripts\pinky-script.py", line 25, in importlib_load_entry_point return next(matches).load() File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\importlib_metadata__init.py", line 194, in load module = import_module(match.group('module')) File "D:\miniconda3\envs\AI4Pinky\lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 941, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pinky-0.1-py3.6.egg\pinky\init__.py", line 1, in File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pinky-0.1-py3.6.egg\pinky\config.py", line 7, in File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\pile.py", line 24, in from . import trace, io, util File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\trace.py", line 21, in from pyrocko import util, orthodrome, pchain, model File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\orthodrome.py", line 20, in earthradius = config().earthradius File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\config.py", line 200, in config return processed(raw_config(config_name)) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\config.py", line 182, in raw_config g_conf[config_name] = load(filename=conf_path) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\guts.py", line 271, in g retval = f(*args, *kwargs) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\guts.py", line 2295, in load return _load(args, **kwargs) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\guts.py", line 1687, in _load return yaml.load(stream=stream, Loader=_Loader) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\yaml\init.py", line 81, in load return loader.get_single_data() File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\yaml\constructor.py", line 51, in get_single_data return self.construct_document(node) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\yaml\constructor.py", line 55, in construct_document data = self.construct_object(node) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\yaml\constructor.py", line 102, in construct_object data = constructor(self, tag_suffix, node) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\guts.py", line 1731, in multi_constructor o = cls(**kwargs) File "D:\miniconda3\envs\AI4Pinky\lib\site-packages\pyrocko\guts.py", line 919, in init__ self.T.tagname, ', '.join(list(kwargs.keys())))) pyrocko.guts.ArgumentError: Invalid argument to pf.PyrockoConfig: volcanoes_dir, fault_lines_dir, colortables_dir please help me,thanks a lot.