runtime error

Container logs:

8mxf8 2023-03-16T08:23:49.493Z /home/user/.local/lib/python3.8/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
8mxf8 2023-03-16T08:23:49.493Z   return torch._C._cuda_getDeviceCount() > 0
8mxf8 2023-03-16T08:23:50.137Z /home/user/.local/lib/python3.8/site-packages/mmcv/__init__.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
8mxf8 2023-03-16T08:23:50.137Z   warnings.warn(
8mxf8 2023-03-16T08:23:50.252Z Reading checkpoints/t2m/t2m_motiondiffuse/opt.txt
8mxf8 2023-03-16T08:23:51.790Z 
  0%|                                               | 0.00/338M [00:00<?, ?iB/s]
  1%|▏                                     | 2.12M/338M [00:00<00:15, 22.3MiB/s]
  5%|█▊                                    | 15.9M/338M [00:00<00:03, 91.9MiB/s]
 12%|████▊                                  | 41.9M/338M [00:00<00:01, 173MiB/s]
 21%|████████                               | 69.3M/338M [00:00<00:01, 218MiB/s]
 28%|██████████▉                            | 95.1M/338M [00:00<00:01, 237MiB/s]
 36%|██████████████▏                         | 120M/338M [00:00<00:00, 245MiB/s]
 44%|█████████████████▌                      | 148M/338M [00:00<00:00, 261MiB/s]
 52%|████████████████████▋                   | 174M/338M [00:00<00:00, 266MiB/s]
 59%|███████████████████████▋                | 200M/338M [00:00<00:00, 246MiB/s]
 68%|███████████████████████████▏            | 229M/338M [00:01<00:00, 265MiB/s]
 76%|██████████████████████████████▍         | 257M/338M [00:01<00:00, 271MiB/s]
 84%|█████████████████████████████████▌      | 283M/338M [00:01<00:00, 270MiB/s]
 91%|████████████████████████████████████▌   | 309M/338M [00:01<00:00, 268MiB/s]
 99%|███████████████████████████████████████▌| 334M/338M [00:01<00:00, 253MiB/s]
100%|████████████████████████████████████████| 338M/338M [00:01<00:00, 241MiB/s]
8mxf8 2023-03-16T08:23:58.443Z /home/user/.local/lib/python3.8/site-packages/gradio/interface.py:328: UserWarning: Currently, only the 'default' theme is supported.
8mxf8 2023-03-16T08:23:58.443Z   warnings.warn("Currently, only the 'default' theme is supported.")
8mxf8 2023-03-16T08:23:58.974Z IMPORTANT: You are using gradio version 3.4.1, however version 3.14.0 is available, please upgrade.
8mxf8 2023-03-16T08:23:58.974Z --------
8mxf8 2023-03-16T08:23:58.976Z Caching examples at: '/home/user/app/gradio_cached_examples/15/log.csv'
8mxf8 2023-03-16T08:23:58.998Z Traceback (most recent call last):
8mxf8 2023-03-16T08:23:58.998Z   File "app.py", line 54, in <module>
8mxf8 2023-03-16T08:23:58.998Z     demo = gr.Interface(
8mxf8 2023-03-16T08:23:58.998Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 618, in __init__
8mxf8 2023-03-16T08:23:58.998Z     self.examples_handler = Examples(
8mxf8 2023-03-16T08:23:58.998Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 62, in create_examples
8mxf8 2023-03-16T08:23:58.998Z     utils.synchronize_async(examples_obj.create)
8mxf8 2023-03-16T08:23:58.998Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 356, in synchronize_async
8mxf8 2023-03-16T08:23:58.998Z     return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs)
8mxf8 2023-03-16T08:23:58.998Z   File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 100, in sync
8mxf8 2023-03-16T08:23:58.999Z     raise return_result
8mxf8 2023-03-16T08:23:58.999Z   File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 55, in _runner
8mxf8 2023-03-16T08:23:58.999Z     result[0] = await coro
8mxf8 2023-03-16T08:23:58.999Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 231, in create
8mxf8 2023-03-16T08:23:58.999Z     await self.cache_interface_examples()
8mxf8 2023-03-16T08:23:58.999Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 269, in cache_interface_examples
8mxf8 2023-03-16T08:23:58.999Z     prediction = await self.predict_example(example_id)
8mxf8 2023-03-16T08:23:58.999Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 286, in predict_example
8mxf8 2023-03-16T08:23:58.999Z     predictions = await anyio.to_thread.run_sync(self.fn, *processed_input)
8mxf8 2023-03-16T08:23:58.999Z   File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
8mxf8 2023-03-16T08:23:58.999Z     return await get_asynclib().run_sync_in_worker_thread(
8mxf8 2023-03-16T08:23:58.999Z   File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
8mxf8 2023-03-16T08:23:58.999Z     return await future
8mxf8 2023-03-16T08:23:58.999Z   File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
8mxf8 2023-03-16T08:23:59.000Z     result = context.run(func, *args)
8mxf8 2023-03-16T08:23:59.000Z   File "app.py", line 49, in generate
8mxf8 2023-03-16T08:23:59.000Z     from tools.visualization import process
8mxf8 2023-03-16T08:23:59.000Z   File "./tools/visualization.py", line 10, in <module>
8mxf8 2023-03-16T08:23:59.000Z     from utils.motion_process import recover_from_ric
8mxf8 2023-03-16T08:23:59.000Z   File "./utils/motion_process.py", line 5, in <module>
8mxf8 2023-03-16T08:23:59.000Z     from utils.quaternion import *
8mxf8 2023-03-16T08:23:59.000Z   File "./utils/quaternion.py", line 13, in <module>
8mxf8 2023-03-16T08:23:59.000Z     _FLOAT_EPS = np.finfo(np.float).eps
8mxf8 2023-03-16T08:23:59.000Z   File "/home/user/.local/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
8mxf8 2023-03-16T08:23:59.000Z     raise AttributeError(__former_attrs__[attr])
8mxf8 2023-03-16T08:23:59.000Z AttributeError: module 'numpy' has no attribute 'float'.
8mxf8 2023-03-16T08:23:59.000Z `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
8mxf8 2023-03-16T08:23:59.000Z The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
8mxf8 2023-03-16T08:23:59.000Z     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
8mxf8 2023-03-16T08:24:13.940Z /home/user/.local/lib/python3.8/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
8mxf8 2023-03-16T08:24:13.940Z   return torch._C._cuda_getDeviceCount() > 0
8mxf8 2023-03-16T08:24:14.513Z /home/user/.local/lib/python3.8/site-packages/mmcv/__init__.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
8mxf8 2023-03-16T08:24:14.513Z   warnings.warn(
8mxf8 2023-03-16T08:24:14.631Z Reading checkpoints/t2m/t2m_motiondiffuse/opt.txt
8mxf8 2023-03-16T08:24:15.569Z 
  0%|                                               | 0.00/338M [00:00<?, ?iB/s]
 10%|████                                   | 35.4M/338M [00:00<00:00, 371MiB/s]
 21%|████████▏                              | 71.0M/338M [00:00<00:00, 372MiB/s]
 32%|████████████▉                           | 109M/338M [00:00<00:00, 384MiB/s]
 44%|█████████████████▌                      | 148M/338M [00:00<00:00, 393MiB/s]
 55%|█████████████████████▉                  | 185M/338M [00:00<00:00, 394MiB/s]
 66%|██████████████████████████▍             | 224M/338M [00:00<00:00, 396MiB/s]
 78%|███████████████████████████████         | 263M/338M [00:00<00:00, 400MiB/s]
 89%|███████████████████████████████████▋    | 301M/338M [00:00<00:00, 398MiB/s]
100%|████████████████████████████████████████| 338M/338M [00:00<00:00, 395MiB/s]
8mxf8 2023-03-16T08:24:22.589Z /home/user/.local/lib/python3.8/site-packages/gradio/interface.py:328: UserWarning: Currently, only the 'default' theme is supported.
8mxf8 2023-03-16T08:24:22.589Z   warnings.warn("Currently, only the 'default' theme is supported.")
8mxf8 2023-03-16T08:24:23.123Z IMPORTANT: You are using gradio version 3.4.1, however version 3.14.0 is available, please upgrade.
8mxf8 2023-03-16T08:24:23.123Z --------
8mxf8 2023-03-16T08:24:23.125Z Caching examples at: '/home/user/app/gradio_cached_examples/15/log.csv'
8mxf8 2023-03-16T08:24:23.147Z Traceback (most recent call last):
8mxf8 2023-03-16T08:24:23.147Z   File "app.py", line 54, in <module>
8mxf8 2023-03-16T08:24:23.147Z     demo = gr.Interface(
8mxf8 2023-03-16T08:24:23.147Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 618, in __init__
8mxf8 2023-03-16T08:24:23.147Z     self.examples_handler = Examples(
8mxf8 2023-03-16T08:24:23.147Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 62, in create_examples
8mxf8 2023-03-16T08:24:23.147Z     utils.synchronize_async(examples_obj.create)
8mxf8 2023-03-16T08:24:23.147Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 356, in synchronize_async
8mxf8 2023-03-16T08:24:23.148Z     return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs)
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 100, in sync
8mxf8 2023-03-16T08:24:23.148Z     raise return_result
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 55, in _runner
8mxf8 2023-03-16T08:24:23.148Z     result[0] = await coro
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 231, in create
8mxf8 2023-03-16T08:24:23.148Z     await self.cache_interface_examples()
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 269, in cache_interface_examples
8mxf8 2023-03-16T08:24:23.148Z     prediction = await self.predict_example(example_id)
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 286, in predict_example
8mxf8 2023-03-16T08:24:23.148Z     predictions = await anyio.to_thread.run_sync(self.fn, *processed_input)
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
8mxf8 2023-03-16T08:24:23.148Z     return await get_asynclib().run_sync_in_worker_thread(
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
8mxf8 2023-03-16T08:24:23.148Z     return await future
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
8mxf8 2023-03-16T08:24:23.148Z     result = context.run(func, *args)
8mxf8 2023-03-16T08:24:23.148Z   File "app.py", line 49, in generate
8mxf8 2023-03-16T08:24:23.148Z     from tools.visualization import process
8mxf8 2023-03-16T08:24:23.148Z   File "./tools/visualization.py", line 10, in <module>
8mxf8 2023-03-16T08:24:23.148Z     from utils.motion_process import recover_from_ric
8mxf8 2023-03-16T08:24:23.148Z   File "./utils/motion_process.py", line 5, in <module>
8mxf8 2023-03-16T08:24:23.148Z     from utils.quaternion import *
8mxf8 2023-03-16T08:24:23.148Z   File "./utils/quaternion.py", line 13, in <module>
8mxf8 2023-03-16T08:24:23.148Z     _FLOAT_EPS = np.finfo(np.float).eps
8mxf8 2023-03-16T08:24:23.148Z   File "/home/user/.local/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__
8mxf8 2023-03-16T08:24:23.148Z     raise AttributeError(__former_attrs__[attr])
8mxf8 2023-03-16T08:24:23.148Z AttributeError: module 'numpy' has no attribute 'float'.
8mxf8 2023-03-16T08:24:23.148Z `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
8mxf8 2023-03-16T08:24:23.148Z The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
8mxf8 2023-03-16T08:24:23.148Z     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations