Skip to content

Commit

Permalink
Set KERAS_BACKEND=theano before importing DDE
Browse files Browse the repository at this point in the history
Because DDE only works with theano, this avoids any issues
with having this environment variable improperly set
  • Loading branch information
mliu49 authored and mjohnson541 committed Jan 18, 2019
1 parent 867f57a commit fb10a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rmgpy/ml/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import os
import numpy as np

os.environ['KERAS_BACKEND'] = 'theano'
from dde.predictor import Predictor

from rmgpy.thermo import ThermoData
Expand Down

0 comments on commit fb10a7b

Please sign in to comment.