runtime error

k [00:00<?, ?B/s] isolation_forest.pkl: 100%|██████████| 433k/433k [00:00<00:00, 38.5MB/s] plot_path.png: 0%| | 0.00/51.9k [00:00<?, ?B/s] plot_path.png: 100%|██████████| 51.9k/51.9k [00:00<00:00, 123MB/s] /home/user/.local/lib/python3.10/site-packages/sklearn/base.py:348: InconsistentVersionWarning: Trying to unpickle estimator StandardScaler from version 1.2.2 when using version 1.3.2. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations warnings.warn( /home/user/.local/lib/python3.10/site-packages/sklearn/base.py:348: InconsistentVersionWarning: Trying to unpickle estimator ExtraTreeRegressor from version 1.2.2 when using version 1.3.2. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 74, in <module> loaded_model = load_hf_model_hub() File "/home/user/app/app.py", line 38, in load_hf_model_hub loaded_model = pickle.load(open('./downloaded-model/isolation_forest.pkl', 'rb')) File "sklearn/tree/_tree.pyx", line 728, in sklearn.tree._tree.Tree.__setstate__ File "sklearn/tree/_tree.pyx", line 1434, 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...