Giter VIP home page Giter VIP logo

Comments (11)

farizrahman4u avatar farizrahman4u commented on August 22, 2024

Yes. TF is supported.

from recurrentshop.

Achilles-96 avatar Achilles-96 commented on August 22, 2024

How do I install TF version. It starts downloading theano when I run python setup.py install .I don't want that to happen.

from recurrentshop.

farizrahman4u avatar farizrahman4u commented on August 22, 2024

Install TF and and change backend to TF according to Keras documentation.

from recurrentshop.

Achilles-96 avatar Achilles-96 commented on August 22, 2024

I have TF installed.

{
    "image_dim_ordering": "tf",
    "epsilon": 1e-07,
    "floatx": "float32",
    "backend": "tensorflow"
}

This is my ~/.keras/keras.json
It still downloads theano. I even removed this line: https://github.com/datalogai/recurrentshop/blob/master/requirements.txt#L3

from recurrentshop.

farizrahman4u avatar farizrahman4u commented on August 22, 2024

Because its a requirement in Keras?

from recurrentshop.

Achilles-96 avatar Achilles-96 commented on August 22, 2024

I installed keras without theano.

from recurrentshop.

 avatar commented on August 22, 2024

Hi,
In backend file you import Theano.
That why, in engine file, I remplace line 7:
from . import backend
by:

if K.backend() == 'theano':
	from . import backend

from recurrentshop.

Achilles-96 avatar Achilles-96 commented on August 22, 2024

I tried it. It still downloads theano.

from recurrentshop.

 avatar commented on August 22, 2024

Have you for installation of recurrentshop commented in requirements.txt line:
Theano> = 0.8.0

from recurrentshop.

Achilles-96 avatar Achilles-96 commented on August 22, 2024

I removed that line.

from recurrentshop.

bfaure avatar bfaure commented on August 22, 2024

I did the changes that magrauer suggested, as well as removing the Theano>=0.8.0 line from requirements.txt and it still installed Theano when I ran setup.py but when I import recurrentshop now it defaults to Tensorflow as the backend.

from recurrentshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.