Open haljishi opened 1 year ago
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`
Had the same issue - any fix?
Same error.
I am also getting this error
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`