-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I dont think I am doing anything weird, but at random I get the unicodedecode error, here is the model initialization
model = PySRRegressor(
niterations=500,
unary_operators=[
"sin", "cos", "exp", "log", "sqrt", "cbrt", "square", "cube",
"abs", "neg", "inv",
],
binary_operators=["+", "-", "*", "/", "^"],
constraints={"^": (-1, 5)},
extra_sympy_mappings={
"square": lambda x: x**2,
"cube": lambda x: x**3,
"neg": lambda x: -x,
"inv": lambda x: 1/x,
#"max": lambda x, y: sympy.Max(x, y),
#"min": lambda x, y: sympy.Min(x, y)
},
maxsize=30,
model_selection="best",
turbo=True,
batching=True,
fast_cycle=True,
bumper=True,
verbosity=0
)Error in callback _flush_stdio (for post_execute), with arguments args (),kwargs {}:
---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
File ~/.julia/packages/PythonCall/avYrV/src/JlWrap/any.jl:262, in __call__(self, *args, **kwargs)
260 return ValueBase.__dir__(self) + self._jl_callmethod($(pyjl_methodnum(pyjlany_dir)))
261 def __call__(self, *args, **kwargs):
--> [262](~/.julia/packages/PythonCall/avYrV/src/JlWrap/any.jl:262) return self._jl_callmethod($(pyjl_methodnum(pyjlany_call)), args, kwargs)
263 def __bool__(self):
264 return True
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 4095: unexpected end of dataVersion
1.5.9
Operating System
Linux
Package Manager
pip
Interface
Jupyter Notebook
Relevant log output
Extra Info
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working