metastable-baselines2/metastable_baselines2/common/pca.py

5 lines
219 B
Python
Raw Normal View History

2023-11-19 18:34:15 +01:00
try:
from priorConditionedAnnealing import PCA_Distribution
except ModuleNotFoundError:
def PCA_Distribution(*args, **kwargs):
raise Exception('PCA is not installed; cannot initialize PCA_Distribution.')