Git Product home page Git Product logo

Comments (4)

harpaj avatar harpaj commented on August 21, 2024 18

Hello @cyzLoveDream @ruidan,
I have created a version of the code using Python3, Tensorflow and recent versions of all dependencies, including Keras, in my fork here: https://github.com/harpaj/Unsupervised-Aspect-Extraction. In the master branch, I tried to keep all other things unchanged, results are very similar to those reported in the paper. Most credit goes to @alexeyev, I used some of the changes in his fork.

Hope this helps someone!

from unsupervised-aspect-extraction.

ruidan avatar ruidan commented on August 21, 2024

The Keras version for this code is 1.2.1.

If you want to keep the Keras version unchanged, you need to check which version of tensorflow will work with it. You don't need to change much on the code in this way. You may simply switch the backend of Keras from theano to tensorflow and try if it works.

If you want to upgrade Keras to a version that is compatible with more recent tensorflow versions, you need to modify the code a bit. As the api of Keras 2 is different in many places. You may need to read their release documentation.

from unsupervised-aspect-extraction.

ruidan avatar ruidan commented on August 21, 2024

@harpaj Thank you! That is very helpful :)

from unsupervised-aspect-extraction.

cyzLoveDream avatar cyzLoveDream commented on August 21, 2024

@harpaj Thank you very much

from unsupervised-aspect-extraction.

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.