A newer version of the Gradio SDK is available:
5.29.0
algorithms
algorithms
folder is designed to contain implementation of algorithms or models.
Content in algorithms
can be loosely grouped components (e.g. models) or an algorithm has already has all
components chained together (e.g. Lightning Module, RL algo).
You should create a folder name after your own algorithm or baselines in it.
Two example can be found in examples
subfolder.
The common
subfolder is designed to contain general purpose classes that's useful for many projects, e.g MLP.
You should not run any .py
file from algorithms folder.
Instead, you write unit tests / debug python files in debug
and launch script in experiments
.
You are discouraged from putting visualization utilities in algorithms, as those should go to utils
in project root.
Each algorithm class takes in a DictConfig file cfg
in its __init__
, which allows you to pass in arguments via configuration file in configurations/algorithm
or command line override.
This repo is forked from Boyuan Chen's research template repo. By its MIT license, you must keep the above sentence in README.md
and the LICENSE
file to credit the author.