Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Integration:  dvc git github
3aa8a42871
Imported training and test datasets
1 year ago
24091d9f12
Added badges in README.md
1 year ago
b3f525e10f
Fixed Epoch length
11 months ago
64e854ffed
Added training pipeline objects
1 year ago
ebc59a5631
Some changes
1 year ago
64e854ffed
Added training pipeline objects
1 year ago
bd3e1b2d9d
Added .dockerignore
1 year ago
9d91330b0b
Initialized project
1 year ago
64e854ffed
Added training pipeline objects
1 year ago
9b0f5e2af8
Added Dockerfile
1 year ago
d1c2d57132
Update README.md
3 months ago
c4164edf30
Evaluation of the model
1 year ago
c4164edf30
Evaluation of the model
1 year ago
8f8e1d74eb
Added requirements and workflow
1 year ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

You have to be logged in to leave a comment. Sign In

Generalized GAN Pipeline

Pipeline-Run Publish-Image Release An ML / MLOps project implementing a streamlined system design for a train-test-deploy pipeline for various types of GANs (Generative Adversarial Networks). This project uses DVC for internal pipelining and GitHub Actions to enable CI/CD for the trained and tested models.

DAGsHub Link (for experimentation and pipelining): Click Here!


To build from source

  1. Install Git and DVC.

  2. Clone the repository.

    git clone https://github.com/swarajpande5/generalized-gan-pipeline.git
    
    cd generalized-gan-pipeline/
    
  3. Set up virtual environment for python.

    pip install virtualenv
    
    virtualenv venv/
    
    source venv/bin/activate
    
    pip install -r requirements.txt
    
  4. Make suitable changes to code/ directory and the Dockerfile in the project. If needed, changes can also be made to the pipeline itself by changing the dvc.* files using dvc commands.

  5. Run the following command to execute the pipeline after making changes to the code/ scripts.

    dvc repro
    
  6. Deactivate the virtual environment.

    deactivate
    

Files and Directory Structure

.
├── .github/workflows
    ├── pipeline-run.yaml           // Enables to run pipeline as a GitHub Action on Push
    └── push-image-on-release.yaml  // Enables to build and release a Container Image on DockerHub on Release
├── code
    ├── eval.py                     // Evaluation metrics script
    ├── featurization.py            // Featurization script
    ├── get_data.py                 // Fetches the datasets
    ├── model_class.py              // Model Class script
    └── train_model.py              // Trains the model instance
├── data
    ├── DVC data and related files   
├── metrics 
    ├── eval.json                   // Evaluation metrics for pipeline                       
    └── train_metric.json           
├── notebook (Optional)
    └── notebook.ipynb              // Jupyter Notebook 
├── dvc.lock
├── dvc.yaml
├── requirements.txt
└── README.md

Tip!

Press p or to see the previous file or, n or to see the next file

About

No description

Collaborators 1

Comments

Loading...