A high-level Python framework to automate the project lifecycle of Machine and Deep Learning Projects
Project description
♾️ OneSpace ♾️
A high-level Python framework to automate the project lifecycle of Machine and Deep Learning Projects
Overview
OneSpace enables you to train high performace production ready Machine Learning And Deep Learning Models effortlessly with less than five lines of code. OneSpace
provides you a unified workspace so you can work on all kinds of Machine Learning and Deep Learning problem statements without having to leave your workspace environment. OneSpace don't just run everything as a black box to present you results, instead it makes the complete model training process easily explainable using artifacts, logs and plots. OneSpace also provides you the optional parameters to pass database credentials which will create a table with the project name in the database of your choice and will log all the training activities and the parameters in the database.
Following are the major contents to follow, you can jump to any section:
- Installation
- Usage
- Getting Started with OneSpace (Tutorials)
A ) - Tabular
i ) - Training a Regression Model
ii) - Training a Classification Model
B ) - Computer Vision
i ) - Training an Image Classification Model with Tensorflow
ii) - Training an Image Classification Model with PyTorch- Contributing
🔗 Project Link
OneSpace
is being distributed through PyPI. Check out the PyPI Package here
1. Installation
To avoid any dependency conflict, make sure to create a new Python virtual environment and then install via Pip!
pip install onespace
2. Usage
Get the config.py and training.py files ready. You can get it from this repo or from the following tutorials section.
- Prepare
training.py
import config # Incase, you renamed config.py to something else, make sure to use the same name here
from src.onespace.tabular.regression import Experiment # Importing Experiment class to train a regression model
def training(config):
exp = Experiment(config)
exp.run_experiment()
if __name__ == "__main__":
training(config)
- Now run the following command on your terminal to start the training job:
python training.py
Please following along with these quick tutorials
👇 to understand the complete setup and training process.
3. Getting Started with OneSpace
-
Ensure you have Python 3.7+ installed.
-
Create a new Python conda environment for the OneSpace:
$ conda create -n venv # create venv
$ conda activate venv # activate venv
$ pip install onespace # install onespace
- Create a new Python virtual environment with pip for the OneSpace:
$ python3 -m venv venv # create venv
$ . venv/bin/activate # activate venv
$ pip install onespace # install onespace
4. Contributing
Yes, Please! We believe that there is alot of oportunity to make Machine Learning more interesting and less complicated for the comunity, so let's make it more efficient, let's go with low-code!!
Please give this repository a star if you find our work useful, Thank you! 🙏
Copyright © 2022 onespace
Let's connect on LinkedIn
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.