splade icon indicating copy to clipboard operation
splade copied to clipboard

TypeError: main() got an unexpected keyword argument 'version_base'

Open rauhryan opened this issue 1 year ago • 1 comments

Howdy,

Sorry to bother, but I'm just trying to get the basic toy data training task to work on a fresh git clone and I'm running into the following error running:

python3 -m splade.train

Traceback (most recent call last):
  File "/home/vagrant/.conda/envs/splade_source/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/vagrant/.conda/envs/splade_source/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/srv/repos/splade_source/splade/index.py", line 13, in <module>
    @hydra.main(config_path=CONFIG_PATH, config_name=CONFIG_NAME, version_base="1.2")
TypeError: main() got an unexpected keyword argument 'version_base'

is there something basic I'm missing?

rauhryan avatar Feb 22 '24 21:02 rauhryan

see https://github.com/naver/splade/issues/50#issue-2098431970 Can you try and update the hydra-core version?

DRRV avatar Feb 23 '24 09:02 DRRV