NBoost is a scalable, search-api-boosting platform for deploying transformer models to improve the relevance of search results on different platforms (i.e. Elasticsearch)
Apache License 2.0
675
stars
69
forks
source link
Error while deploying the proxy : TypeError: func() takes 1 positional argument but 2 were given #53
When I am running nboost --uhost localhost, I am getting this error.
Traceback (most recent call last):
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\7328637\AppData\Local\Continuum\anaconda3\envs\tensorflow_env\Scripts\nboost.exe__main.py", line 7, in
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\site-packages\nboost__main__.py", line 10, in main
proxy = Proxy(**vars(args))
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\site-packages\nboost\proxy.py", line 57, in init
**cli_args) # type: RerankModelPlugin
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\site-packages\nboost\plugins\models\init__.py", line 40, in resolve_model
logger.info('Downloading "%s" model.', model_dir)
TypeError: func() takes 1 positional argument but 2 were given
When I am running nboost --uhost localhost, I am getting this error. Traceback (most recent call last): File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\7328637\AppData\Local\Continuum\anaconda3\envs\tensorflow_env\Scripts\nboost.exe__main.py", line 7, in
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\site-packages\nboost__main__.py", line 10, in main
proxy = Proxy(**vars(args))
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\site-packages\nboost\proxy.py", line 57, in init
**cli_args) # type: RerankModelPlugin
File "c:\users\7328637\appdata\local\continuum\anaconda3\envs\tensorflow_env\lib\site-packages\nboost\plugins\models\init__.py", line 40, in resolve_model
logger.info('Downloading "%s" model.', model_dir)
TypeError: func() takes 1 positional argument but 2 were given