Coder Social home page Coder Social logo

Comments (2)

eiderman avatar eiderman commented on September 26, 2024

Thanks for such a long and well thought out critique. I will spend a bit of time working most of these into the code base.

As part of this, I will deemphasize templates. Their use case is narrow and is usually better served by doing the following pattern:

def my_model_fn(input_, labels, phase):
  ...

with tf.variable_scope('model'):
  train_result = my_model_fn(train_input, train_labels, pt.Phase.train)

with tf.variable_scope('model', reuse=True):
  test_result = my_model_fn(test_input, test_labels, pt.Phase.test)

from prettytensor.

Hvass-Labs avatar Hvass-Labs commented on September 26, 2024

Thanks I'm looking forward to that!

I'm currently studying TFLearn and it suffers from the same lack of documentation. It is rather gruelling to learn and there is high risk of the user misunderstanding the API.

I saw a short and good video from one of the advocates of clean code, explaining why proper API documentation is very important: https://www.youtube.com/watch?v=Y-_oYR7e9cY

TFLearn seems to be more popular than PrettyTensor, but in some ways PrettyTensor appears more elegant, so I think there's room for both. TFLearn mimics scikit-learn in some ways, but it seems rather straight-forward to add similar functionality to PrettyTensor, and perhaps tailor it more to Neural Network learning.

The other day, I made a short video tutorial on PrettyTensor because that's how I initiallity like to learn things myself and none were available: https://www.youtube.com/watch?v=GCUfJQ_dec8

from prettytensor.

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.