Skip to content

ML project using Pytorch & Tensorboard with Github Actions for CI/CD. Runs a Training job on local machine / A Github runner using github actions workflow

Notifications You must be signed in to change notification settings

rakesh-racharla/pytorch-ML-CI-CD-github-actions

Repository files navigation

For Local Setup

Install requirements

Step 1: Create a new Anaconda/Miniconda environment

conda create -n <choose a name> -f conda.yaml

Step 2: Install packages in an existing environment using pip

pip install -r requirements.txt

Step:3 Application entry point

python main.py

Step:4 Tensorboard

To start Tensorboard:

tensorboard --logdir runs

The output will be something like:

TensorBoard 2.6.0 at http://localhost:6006/ (Press CTRL+C to quit)

Follow the instructions printed to the terminal to view Tensorboard in a browser.

For Githhub Actions CICD

  • Clone the repo (optional)
git clone https://github.com/rakesh-racharla/pytorch-ML-CI-CD-github-actions.git
  • Make changes if needed and commit.
  • Every push will trigger a new build.
  • Check your workflow under "Actions" Tab.

About

ML project using Pytorch & Tensorboard with Github Actions for CI/CD. Runs a Training job on local machine / A Github runner using github actions workflow

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages