You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i ran the demo in google colab and get the following error? would you please tell me, how can i fix it?
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/dist-packages/allencv/service/server_simple.py", line 36, in
from allennlp.common import JsonDict
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/init.py", line 1, in
from allennlp.common.from_params import FromParams
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/from_params.py", line 22, in
from allennlp.common.lazy import Lazy
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/lazy.py", line 5, in
from allennlp.common.params import Params
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/params.py", line 33, in
from allennlp.common.file_utils import cached_path
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/file_utils.py", line 78, in
class FileLock(_FileLock):
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/file_utils.py", line 96, in FileLock
def acquire(self, timeout=None, poll_interval=0.05):
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 88, in overrides
return _overrides(method, check_signature, check_at_runtime)
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 114, in _overrides
_validate_method(method, super_class, check_signature)
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 135, in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
File "/usr/local/lib/python3.7/dist-packages/overrides/signature.py", line 95, in ensure_signature_is_compatible
super_sig, sub_sig, super_type_hints, sub_type_hints, is_static, method_name
File "/usr/local/lib/python3.7/dist-packages/overrides/signature.py", line 136, in ensure_all_kwargs_defined_in_sub
raise TypeError(f"{method_name}: {name} is not present.")
TypeError: FileLock.acquire: poll_intervall is not present.
The text was updated successfully, but these errors were encountered:
i ran the demo in google colab and get the following error? would you please tell me, how can i fix it?
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/dist-packages/allencv/service/server_simple.py", line 36, in
from allennlp.common import JsonDict
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/init.py", line 1, in
from allennlp.common.from_params import FromParams
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/from_params.py", line 22, in
from allennlp.common.lazy import Lazy
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/lazy.py", line 5, in
from allennlp.common.params import Params
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/params.py", line 33, in
from allennlp.common.file_utils import cached_path
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/file_utils.py", line 78, in
class FileLock(_FileLock):
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/file_utils.py", line 96, in FileLock
def acquire(self, timeout=None, poll_interval=0.05):
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 88, in overrides
return _overrides(method, check_signature, check_at_runtime)
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 114, in _overrides
_validate_method(method, super_class, check_signature)
File "/usr/local/lib/python3.7/dist-packages/overrides/overrides.py", line 135, in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
File "/usr/local/lib/python3.7/dist-packages/overrides/signature.py", line 95, in ensure_signature_is_compatible
super_sig, sub_sig, super_type_hints, sub_type_hints, is_static, method_name
File "/usr/local/lib/python3.7/dist-packages/overrides/signature.py", line 136, in ensure_all_kwargs_defined_in_sub
raise TypeError(f"{method_name}:
{name}
is not present.")TypeError: FileLock.acquire:
poll_intervall
is not present.The text was updated successfully, but these errors were encountered: