Coder Social home page Coder Social logo

neuraxle-tensorflow's Introduction

Neuraxio

neuraxle-tensorflow's People

Contributors

alexbrillant avatar guillaume-chevalier avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

neuraxle-tensorflow's Issues

Ability to use a TensorBoard class that accepts a hyperparameter repository for logging all experiment results.

More info here perhaps:

Note: this might be a new project in itself. Like Neuraxle-TensorBoard.

The goal would be to make it compatible with other models (e.g.: also sklearn models and pytorch) so that's why coding it in a new project might be better.

Not urgent: to review in 2 weeks or more.

Create entries for Neuraxle-TensorFlow in the documentation website

I have those ideas in mind:

  • an example subgallery folder for just the tf examples

  • neuraxle-tensorflow is another page of neuraxle complete API documentation below the existing API Documentation page, like the pytorch full api documentation which is below too.

  • for the rest of the documentation site, I'd be okay to mix everything in the pages that aren't examples nor api documentation. For instance, there could be tf and pytorch pages at the same level than the model rest api serving example.

code issue/bug?

Hi Guillaume,

Thank you for sharing these codes! When i am trying to run your code, i always met following issue( i did not change anything, but jut re-run your code). Any ideas what should I do? i am using neuraxle==0.5.2. Thank you !

AttributeError Traceback (most recent call last)
~/.local/lib/python3.6/site-packages/neuraxle/base.py in apply(self, method, ra, *args, **kwargs)
718 try:
--> 719 results = _method(*kargs, **ra.kwargs)
720 if not isinstance(results, RecursiveDict):

~/.local/lib/python3.6/site-packages/neuraxle/base.py in _set_hyperparams(self, hyperparams)
1434 hyperparams = HyperparameterSamples(hyperparams).to_flat()
-> 1435 self.hyperparams = hyperparams if len(hyperparams) > 0 else self.hyperparams
1436 return self.hyperparams

AttributeError: 'Tensorflow2ModelStep' object has no attribute 'hyperparams'
~/.local/lib/python3.6/site-packages/neuraxle/base.py in set_hyperparams(self, hyperparams)
1427 :func:_HasChildrenMixin._set_train
1428 """
-> 1429 self.apply(method='_set_hyperparams', hyperparams=HyperparameterSamples(hyperparams).to_flat())
1430 return self
1431

~/.local/lib/python3.6/site-packages/neuraxle/base.py in apply(self, method, ra, *args, **kwargs)
723 return results
724 except Exception as err:
--> 725 print('{}: Failed to apply method {}.'.format(self.name, method))
726 print(traceback.format_stack())
727 raise err

AttributeError: 'Tensorflow2ModelStep' object has no attribute 'name'

Tensorflow Training Progress Bar

Is there a way to integrate this while still printing out the progress bar that usually happens in Tensorflow when verbose is set to 1? I've tried several combinations after turning off the many low level outputs, but there is no documentation regarding regarding the progress bar.

Feature: make saver simple

Pseudocode with probably the wrong function names, but you get it:

class TF1Saver: 
    def save(self, step): 
        stripped_graphs = dict()
        stripped_sessions = dict()

        for k, v in step.__dict__:

            if isinstance(v, graph): 
                self.stripped_graphs[k] = v
                step = self._strip_graph(step, k)

            elif isinstance(v, session): 
                self.stripped_sessions[k] = v
                step = self._strip_session(step, k)

        self._save_stripped_things(stripped_graphs, stripped_sessions)
        return step

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.