Giter Club home page Giter Club logo

Comments (3)

nmichlo avatar nmichlo commented on June 5, 2024

Before this can happen. Research code needs to be fully pulled out from dissent into its own separate repo. This can be used as a test base for these features.

from disent.

nmichlo avatar nmichlo commented on June 5, 2024

Features implemented in: 4e2fe38

  • Split out research code

  • Naive plugin functionality with experiment.run, append to the config list experiment.plugins with python import paths to a function that registers values with the library. For example: experiment.plugins="['your_module. register_to_disent']"

  • Override the main experiment search path by specifying the environment variable DISENT_CONFIG_ROOTS=.../path/to/your/configs. This hydra config directory will be added to the hydra search path and take precedence over the configs provided by disent in the experiment/configs directory. You can easily copy, paste and modify files, or even add new ones for when running experiments.

  • Using the naive experiment plugin functionality above, you can register components with disent using the disent registry. For example if you write a new framework, you can add your own configs above, but you can also add an entry in the registry using:

import disent.registry as R
def register_to_disent():
    R.FRAMEWORKS.setm['x__adaave_tvae'] = R.LazyImport('research.code.frameworks.vae._supervised__adaave_tvae.AdaAveTripletVae')

from disent.

nmichlo avatar nmichlo commented on June 5, 2024

Docs need to be updated #7

from disent.

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.