The problem stated in the title caused an error in scDART_op.fit. I downgraded the sklearn (scikit-learn) to ver 0.22.1 and the problem is gone.