Closed brunosez closed 7 years ago
EDIT: I didn't not understand what you did.
For now, you change the following line in mlbox/encoding/categorical_encoder.py:
os.environ["KERAS_BACKEND"] = "theano"
And then reinstall the package.
I will submit a PR to avoid overriding this environment variable
Thanks, changing the line, force Tf Backend unfortunately I get stuck with some tf installation
@brunosez : Actually, it seems that tensorflow installation is a bit more complicated than theano. So we decided not to install tf but theano and to force theano backend when importing the module "encoding" (file categorical_encoder.py).
OK, you're right TF install with the correct GPU settings could be touchy !
I have warning / errors with Theano backend. So I want to switch to tensorflow. I have a conda virtualenv , in general I set the keras.json file but here ?
Trying os.environ["KERAS_BACKEND"] = "tensorflow" from mlbox.preprocessing import from mlbox.optimisation import from mlbox.prediction import * seems not worked
Thanks Bruno