Giter Site home page Giter Site logo

Comments (4)

skylacking004 avatar skylacking004 commented on May 23, 2024 1

Hey James, great program. I am having the same error Would I have to then downgrade tensorflow to 1.7.0?:

I installed tensorflow 1.7, downgraded to Python 3.6.5 via homebrew. Everything works fine now.

from tensorrec.

jfkirk avatar jfkirk commented on May 23, 2024

Hey @jamesmgg -- this issue is a result of a TensorFlow version mismatch. TensorRec was built on TensorFlow 1.7.0. Try updating your TF version and this error should go away.

Closing for now. If this issue persists, please re-open it.

from tensorrec.

arshpreetsingh avatar arshpreetsingh commented on May 23, 2024

Hey @jamesmgg -- this issue is a result of a TensorFlow version mismatch. TensorRec was built on > >TensorFlow 1.7.0. Try updating your TF version and this error should go away.

I have tested things till tensorflow 1.12.0 Things are working fine. Although on Tensorflow 1.13.* it is giving error:

AttributeError: 'Iterator' object has no attribute '_output_types'

from tensorrec.

yun-zhou-rb avatar yun-zhou-rb commented on May 23, 2024

In tensorrec.py around line 175, this change should make the code work on Tensorflow 1.14.0

        for graph_iterator_hook_attr_name in self.graph_iterator_hook_attr_names:
            hook = self.__getattribute__(graph_iterator_hook_attr_name)
            iterator_resource_name = hook._iterator_resource.name
            # output_types = hook._output_types
            # output_shapes = hook._output_shapes
            # output_classes = hook._output_classes
            output_types = tf.data.get_output_types(hook)
            output_shapes = tf.data.get_output_shapes(hook)
            output_classes = tf.data.get_output_classes(hook)

from tensorrec.

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.