runtime error

pip install --upgrade pip Defaulting to user installation because normal site-packages is not writeable Collecting scikit-learn Downloading scikit_learn-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.1/11.1 MB 158.7 MB/s eta 0:00:00 Requirement already satisfied: scipy>=1.5.0 in /home/user/.local/lib/python3.8/site-packages (from scikit-learn) (1.10.1) Requirement already satisfied: numpy>=1.17.3 in /home/user/.local/lib/python3.8/site-packages (from scikit-learn) (1.24.4) Collecting joblib>=1.1.1 Downloading joblib-1.3.1-py3-none-any.whl (301 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.0/302.0 kB 62.8 MB/s eta 0:00:00 Collecting threadpoolctl>=2.0.0 Downloading threadpoolctl-3.2.0-py3-none-any.whl (15 kB) Installing collected packages: threadpoolctl, joblib, scikit-learn Successfully installed joblib-1.3.1 scikit-learn-1.3.0 threadpoolctl-3.2.0 [notice] A new release of pip available: 22.3.1 -> 23.2 [notice] To update, run: python -m pip install --upgrade pip Traceback (most recent call last): File "app.py", line 112, in <module> model = pickle.load(open("dt_embed_cnts",'rb')) File "sklearn/tree/_tree.pyx", line 714, in sklearn.tree._tree.Tree.__setstate__ File "sklearn/tree/_tree.pyx", line 1418, in sklearn.tree._tree._check_node_ndarray ValueError: node array from the pickle has an incompatible dtype: - expected: {'names': ['left_child', 'right_child', 'feature', 'threshold', 'impurity', 'n_node_samples', 'weighted_n_node_samples', 'missing_go_to_left'], 'formats': ['<i8', '<i8', '<i8', '<f8', '<f8', '<i8', '<f8', 'u1'], 'offsets': [0, 8, 16, 24, 32, 40, 48, 56], 'itemsize': 64} - got : [('left_child', '<i8'), ('right_child', '<i8'), ('feature', '<i8'), ('threshold', '<f8'), ('impurity', '<f8'), ('n_node_samples', '<i8'), ('weighted_n_node_samples', '<f8')]

Container logs:

Fetching error logs...