-
-
Couldn't load subscription status.
- Fork 1.1k
Open
Description
报错信息为:
invalid escape sequence '\h'
Traceback (most recent call last):
File "D:\Programs\OA\scikit-opt\examples\demo_pso_tsp.py", line 25, in
pso_tsp = PSO_TSP(func=cal_total_distance, n_dim=num_points, size_pop=200, max_iter=800, w=0.8, c1=0.1, c2=0.1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Programs\OA\scikit-opt\sko\PSO.py", line 212, in init
self.func = func_transformer(func)
^^^^^^^^^^^^^^^^^^^^^^
TypeError: func_transformer() missing 1 required positional argument: 'n_processes'
Metadata
Metadata
Assignees
Labels
No labels