Git Product home page Git Product logo

tf_rl_tutorial's Introduction

tf_rl_tutorial

tf tsne transe

Accompanying code for "Relational Learning with TensorFlow" tutorial

The tutorial can be be viewed here: http://nbviewer.jupyter.org/github/fireeye/tf_rl_tutorial/blob/master/tf_rl_tutorial.ipynb

Please use the nbviewer link above instead of viewing the notebook directly from this GitHub repo. The GitHub renderer won't correctly display the images, equations, or the scatter plot.

Dependencies

Running the WordNet Example

In addition to the tutorial notebook, there is also a script which demonstrates training and evaluating a model.

  1. Clone this repository, make sure all dependencies are installed
  2. Download and unpack the WordNet dataset into the /data directory (link is in the tutorial)
  3. Make sure that this project directory is in your PYTHONPATH
  4. cd tf_rl_tutorial
  5. python wordnet_eval.py

tf_rl_tutorial's People

Contributors

dallendoug avatar

Stargazers

Zeming Fang avatar  avatar Mauro Risonho de Paula Assumpção avatar Vishal Belsare avatar Yang An avatar Jeff Hao avatar  avatar Ian Stinson avatar Vincent Watremez avatar Yasser Gonzalez avatar Fedor Nikolaev avatar Nghi D. Q. Bui avatar Zou Yuhan avatar  avatar  avatar Idris Yusupov avatar Nikos Voskarides avatar Richard avatar Bolor avatar Nam Khanh Tran  avatar aksarben avatar Aziz Alto avatar Gurumurthi V Ramanan avatar Siva Reddy avatar Seamus Tuohy avatar Yi Tay avatar  avatar Sameh Mohamed avatar REDTEAM avatar Minh-Triet Pham Tran avatar Jacob Haslehurst avatar Amey Dharwadker avatar Rohan Agrawal avatar Martijn Mellema avatar Ethan Rosenthal avatar Neriberto CP avatar  avatar  avatar NAKAJIMA Takaaki avatar

Watchers

Minh-Triet Pham Tran avatar Neriberto CP avatar James Cloos avatar  avatar Vincent Watremez avatar  avatar  avatar  avatar  avatar Ángel Javier Salazar avatar

tf_rl_tutorial's Issues

Shape not compatible

Hi!

Firstly, great tutorial!
I have a error when implementing the RESCAL model, that has to do with the tf.concat. When fitting the model, tensorflow does not recognize the shape? I am not new to programming but still learning so could be a made a nooby mistake.

Where the error appears:
unique_ent_indices = tf.unique(tf.concat(0, [self.head_input, self.tail_input]))[0]

Message from tensorflow:
ValueError: Shapes (2, ?) and () are incompatible

Any ideas?

Thanks!

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.