You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the same code as the official tutorial "Translating multiomics single-cell data" used.Everything was fine until I started to run "solve Solve the [TranslationProblem]".What is 'linear_solver' and how to fix it?Please help me ><
error:
INFO Solving 1 problems
INFO Solving problem OTProblem[stage='prepared', shape=(6224, 6224)].
Traceback (most recent call last):
File "d:\test\moscottest.py", line 58, in
tp = tp.solve(alpha=1.0, epsilon=1e-3)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\problems\cross_modality_translation.py", line 290, in solve
return super().solve(
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\base\problems\compound_problem.py", line 353, in solve
_ = problem.solve(**kwargs)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\base\problems_utils.py", line 548, in wrap_solve
instance = wrapped(*args, **kwargs)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\base\problems\problem.py", line 428, in solve
self._solver = solver_class(**init_kwargs)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\backends\ott\solver.py", line 365, in init
self._solver = gromov_wasserstein.GromovWasserstein(
TypeError: init() missing 1 required positional argument: 'linear_solver'
The text was updated successfully, but these errors were encountered:
I ran the same code as the official tutorial "Translating multiomics single-cell data" used.Everything was fine until I started to run "solve Solve the [TranslationProblem]".What is 'linear_solver' and how to fix it?Please help me ><
error:
INFO Solving
1
problemsINFO Solving problem OTProblem[stage='prepared', shape=(6224, 6224)].
Traceback (most recent call last):
File "d:\test\moscottest.py", line 58, in
tp = tp.solve(alpha=1.0, epsilon=1e-3)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\problems\cross_modality_translation.py", line 290, in solve
return super().solve(
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\base\problems\compound_problem.py", line 353, in solve
_ = problem.solve(**kwargs)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\base\problems_utils.py", line 548, in wrap_solve
instance = wrapped(*args, **kwargs)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\base\problems\problem.py", line 428, in solve
self._solver = solver_class(**init_kwargs)
File "C:\Users\abc\AppData\Local\Programs\Python\Python39\lib\site-packages\moscot\backends\ott\solver.py", line 365, in init
self._solver = gromov_wasserstein.GromovWasserstein(
TypeError: init() missing 1 required positional argument: 'linear_solver'
The text was updated successfully, but these errors were encountered: