hypopt icon indicating copy to clipboard operation
hypopt copied to clipboard

AssertionError: group argument must be None for now

Open haljishi opened this issue 2 years ago • 3 comments

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`

haljishi avatar Dec 09 '22 14:12 haljishi

Had the same issue - any fix?

ketencimert avatar Jan 23 '23 19:01 ketencimert

Same error.

dhkhey avatar Apr 06 '23 22:04 dhkhey

I am also getting this error

erasromani avatar Sep 12 '23 21:09 erasromani