runtime error

Exit code: 1. Reason: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.2 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/home/user/app/app.py", line 23, in <module> model = FruitVegetableClassifier() File "/home/user/app/app.py", line 16, in __init__ torch.load(model_path, map_location=torch.device('cpu')) # Memastikan dimuat di CPU /home/user/app/app.py:16: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:68.) torch.load(model_path, map_location=torch.device('cpu')) # Memastikan dimuat di CPU Traceback (most recent call last): File "/home/user/app/app.py", line 23, in <module> model = FruitVegetableClassifier() File "/home/user/app/app.py", line 15, in __init__ self.model = torch.nn.Sequential( File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/container.py", line 86, in __init__ self.add_module(key, module) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 382, in add_module raise TypeError("{} is not a Module subclass".format( TypeError: torch.FloatTensor is not a Module subclass

Container logs:

Fetching error logs...