2023-11-27 20:40:23.080476: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library ‘libcudart.so.11.0’; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-11-27 20:40:23.080505: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2023-11-27 20:40:43.037607: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library ‘libcuda.so.1’; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2023-11-27 20:40:43.037647: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303)
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
RUNNING QMIX
Traceback (most recent call last):
File “/home/liyi/og-marl-main/examples/baselines/benchmark_smac.py”, line 291, in
app.run(main)
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/absl/app.py”, line 308, in run
_run_main(main, args)
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/absl/app.py”, line 254, in _run_main
sys.exit(main(argv))
File “/home/liyi/og-marl-main/examples/baselines/benchmark_smac.py”, line 285, in main
system.run_offline(
File “/home/liyi/og-marl-main/og_marl/systems/iql/system_builder.py”, line 363, in run_offline
dataset = MAOfflineDataset(
File “/home/liyi/og-marl-main/og_marl/offline_tools/offline_dataset.py”, line 49, in init
self._no_repeat_dataset = filename_dataset.interleave(
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/data/ops/dataset_ops.py”, line 2183, in interleave
return ParallelInterleaveDataset(
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/data/ops/dataset_ops.py”, line 5368, in init
self._map_func = structured_function.StructuredFunctionWrapper(
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/data/ops/structured_function.py”, line 271, in init
self._function = fn_factory()
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/eager/function.py”, line 3070, in get_concrete_function
graph_function = self._get_concrete_function_garbage_collected(
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/eager/function.py”, line 3036, in _get_concrete_function_garbage_collected
graph_function, _ = self._maybe_define_function(args, kwargs)
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/eager/function.py”, line 3292, in _maybe_define_function
graph_function = self._create_graph_function(args, kwargs)
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/eager/function.py”, line 3130, in _create_graph_function
func_graph_module.func_graph_from_py_func(
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/framework/func_graph.py”, line 1161, in func_graph_from_py_func
func_outputs = python_func(*func_args, **func_kwargs)
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/data/ops/structured_function.py”, line 248, in wrapped_fn
ret = wrapper_helper(*args)
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/data/ops/structured_function.py”, line 177, in wrapper_helper
ret = autograph.tf_convert(self._func, ag_ctx)(*nested_args)
File “/home/liyi/.conda/envs/smacv1/lib/python3.9/site-packages/tensorflow/python/autograph/impl/api.py”, line 692, in wrapper
raise e.ag_error_metadata.to_exception(e)
TypeError: in user code:
File "/home/liyi/og-marl-main/og_marl/offline_tools/offline_dataset.py", line 50, in None *
)
TypeError: The `filenames` argument must contain `tf.string` elements. Got `tf.float32` elements.
And I have tried to modify the numpy version, but the numpy version only seems to be 1.21.6.
scipy 1.11.4 requires numpy<1.28.0,>=1.21.6; id-mava 0.1.3 requires numpy~=1.21.4;
Could not find a version that satisfies the requirement numpy==1.21.7 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0 comes with that, version 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0 post2, 1.10.1 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1 1.14.2, 1.14.3 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5 1.16.6, 1.17.0 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1 1.19.2, 1.19.3 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6 1.22.0, 1.22.1 1.22.2, 1.22.3, 1.22.4, 1.23.0 rc1, 1.23.0 rc2, 1.23.0 rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4 1.23.5, 1.24.0 rc1, 1.24.0 rc2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0 rc1, 1.25.0, 1.25.1, 1.25.2 1.26.0 b1, 1.26.0 rc1, 1.26.0 1.26.1 1.26.2)