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

AssertionError: group argument must be None for now #34

Open
haljishi opened this issue Dec 9, 2022 · 3 comments
Open

AssertionError: group argument must be None for now #34

haljishi opened this issue Dec 9, 2022 · 3 comments

Comments

@haljishi
Copy link

haljishi commented Dec 9, 2022

I am getting an essertion error. What is the reason for that?

`File ~/opt/anaconda3/lib/python3.9/site-packages/hypopt/model_selection.py:360, in GridSearch.fit(self, X_train, y_train, X_val, y_val, scoring, scoring_params, verbose)
350 _make_shared_immutables_global(
351 _model=self.model,
352 _X_train=X_train,
(...)
357 _scoring_params=scoring_params,
358 )
359 if self.parallelize:
--> 360 results = _parallel_param_opt(params, self.num_threads)
361 else:
362 results = [_run_thread_job(job) for job in params]

File ~/opt/anaconda3/lib/python3.9/site-packages/hypopt/model_selection.py:185, in _parallel_param_opt(jobs, num_threads)
183 num_threads = multiprocessing.cpu_count()
184 K = len(jobs)
--> 185 with multiprocessing_context(
186 num_threads,
...
---> 82 assert group is None, 'group argument must be None for now'
83 count = next(_process_counter)
84 self._identity = _current_process._identity + (count,)

AssertionError: group argument must be None for now`

@ketencimert
Copy link

Had the same issue - any fix?

@dhkhey
Copy link

dhkhey commented Apr 6, 2023

Same error.

@erasromani
Copy link

I am also getting this error

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

4 participants