tvalentyn commented on PR #24725:
URL: https://github.com/apache/beam/pull/24725#issuecomment-1359435931
Another issue:
```
10:41:08 Traceback (most recent call last):
10:41:08 File "apache_beam/runners/common.py", line 1465, in
apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
10:41:08 File "apache_beam/runners/common.py", line 551, in
apache_beam.runners.common.DoFnInvoker.invoke_setup
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/ml/inference/base.py", line
427, in setup
10:41:08 self._model = self._load_model()
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/ml/inference/base.py", line
420, in _load_model
10:41:08 return self._shared_model_handle.acquire(load)
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/utils/shared.py", line 305,
in acquire
10:41:08 return _shared_map.acquire(self._key, constructor_fn, tag)
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/utils/shared.py", line 246,
in acquire
10:41:08 result = control_block.acquire(constructor_fn, tag)
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/utils/shared.py", line 139,
in acquire
10:41:08 result = constructor_fn()
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/ml/inference/base.py", line
409, in load
10:41:08 model = self._model_handler.load_model()
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/ml/inference/base.py", line
167, in load_model
10:41:08 return self._unkeyed.load_model()
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/ml/inference/tensorrt_inference.py",
line 267, in load_model
10:41:08 return TensorRTEngine(engine)
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/apache_beam/ml/inference/tensorrt_inference.py",
line 134, in __init__
10:41:08 'dtype': np.dtype(trt.nptype(dtype)),
10:41:08 File
"/usr/local/lib/python3.8/dist-packages/tensorrt/__init__.py", line 165, in
nptype
10:41:08 bool: np.bool,
10:41:08 File "/usr/local/lib/python3.8/dist-packages/numpy/__init__.py",
line 284, in __getattr__
10:41:08 raise AttributeError("module {!r} has no attribute "
10:41:08 AttributeError: module 'numpy' has no attribute 'bool'
10:41:08
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]