AttributeError: 'PySRRegressor' object has no attribute 'bumper' #737
-
Getting the following error when trying to load a PySR generated pkl file: ''' File /opt/anaconda3/envs/pysr/lib/python3.12/site-packages/pysr/sr.py:1018, in PySRRegressor.from_file(cls, equation_file, binary_operators, unary_operators, n_features_in, feature_names_in, selection_mask, nout, **pysr_kwargs) File /opt/anaconda3/envs/pysr/lib/python3.12/site-packages/sklearn/base.py:272, in BaseEstimator.set_params(self, **params) File /opt/anaconda3/envs/pysr/lib/python3.12/site-packages/sklearn/base.py:244, in BaseEstimator.get_params(self, deep) AttributeError: 'PySRRegressor' object has no attribute 'bumper' Full environment information: ''' Name Version Build Channelanyio 4.6.2 py312hca03da5_0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Maybe you saved on an older version of PySR and attempting to load it on the latest? Or the reverse? |
Beta Was this translation helpful? Give feedback.
Maybe you saved on an older version of PySR and attempting to load it on the latest? Or the reverse?