ray-project / tune-sklearn

A drop-in replacement for Scikit-Learn’s GridSearchCV / RandomizedSearchCV -- but with cutting edge hyperparameter tuning techniques.
https://docs.ray.io/en/master/tune/api_docs/sklearn.html
Apache License 2.0
467 stars 51 forks source link

AttributeError: 'str' object has no attribute 'setup' #266

Open wasifmasood opened 1 year ago

wasifmasood commented 1 year ago

I keep on getting the following error. I have ray 2.5.0 and latest sklearn. Also tried 2.4.0 and lower versions of sklearn but no luck. Please guide here, I am dead stucked.

Job failed due to an application error, last available logs (truncated to 20,000 chars): File "/home/rayuser/.local/lib/python3.8/site-packages/ray/tune/tune.py", line 1018, in run runner.setup_experiments( File "/home/rayuser/.local/lib/python3.8/site-packages/ray/tune/execution/trial_runner.py", line 305, in setup_experiments self._callbacks.setup(spec) File "/home/rayuser/.local/lib/python3.8/site-packages/ray/tune/callback.py", line 357, in setup callback.setup(info) AttributeError: 'str' object has no attribute 'setup'