Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running into error with ChaCha #1250

Open
robme-l opened this issue Oct 27, 2023 · 1 comment
Open

Running into error with ChaCha #1250

robme-l opened this issue Oct 27, 2023 · 1 comment

Comments

@robme-l
Copy link

robme-l commented Oct 27, 2023

I am using the basic ChaCha setup found in the User Guide autovw = AutoVW(max_live_model_num=5, search_space={'interactions': AutoVW.AUTOMATIC})

however when running the line: autovw.learn(sample) where sample is a VowpalWabbit formatted string that works well on a regular (and separate) VowpalWabbit environment, I get the following error:

[/usr/local/lib/python3.10/dist-packages/flaml/onlineml/autovw.py](https://localhost:8080/#) in learn(self, data_sample)
    173         """
    174         self._iter += 1
--> 175         self._trial_runner.step(data_sample, (self._y_predict, self._best_trial))
    176 
    177     def _select_best_trial(self):

AttributeError: 'NoneType' object has no attribute 'step'

Note I am running this on Google Colab. Anyone ever encounter this before?

@sonichi
Copy link
Collaborator

sonichi commented Oct 28, 2023

@qingyun-wu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants