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
Abhi c76724d0dd
Committing changes
1 year ago
ca16419ed2
Basic skeleton is ready
1 year ago
c76724d0dd
Committing changes
1 year ago
c76724d0dd
Committing changes
1 year ago
src
c76724d0dd
Committing changes
1 year ago
b1be67421d
Updating files
1 year ago
c76724d0dd
Committing changes
1 year ago
e1fe19ea30
Create LICENSE
1 year ago
c76724d0dd
Committing changes
1 year ago
ca16419ed2
Basic skeleton is ready
1 year ago
ffe629dc8e
Updating new files
1 year ago
ca16419ed2
Basic skeleton is ready
1 year ago
b1be67421d
Updating files
1 year ago
b29ceddab9
deep import
1 year ago
ffe629dc8e
Updating new files
1 year ago
b1be67421d
Updating files
1 year ago
b1be67421d
Updating files
1 year ago
b1be67421d
Updating files
1 year ago
ffe629dc8e
Updating new files
1 year ago
Storage Buckets

README.md

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

#deep Classifier project

workflow

  1. Update config.yaml
  2. Update Secrets.yaml [Optional]
  3. Update Params.yaml
  4. Update the entity
  5. Update configuration manager in src config.
  6. Update the components
  7. Update the pipeline
  8. Test run pipeline stage
  9. run tox for testing your package
  10. Update the dvc.yaml
  11. run "dvc repro" for running all stages in pipeline

Create folder structure using below code

import os from pathlib import Path import logging

logging.basicConfig(level=logging.INFO, format='[%(asctime)s]:%(message)s:') package_name = "deepClassifier"

list_of_files = [ ".github/workflows/.gitkeep", f"src/{package_name}/init.py", f"src/{package_name}/components/init.py", f"src/{package_name}/utils/init.py", f"src/{package_name}/config/init.py", f"src/{package_name}/pipeline/init.py", f"src/{package_name}/entity/init.py", f"src/{package_name}/constants/init.py", f"src/{package_name}/example/init.py", "tests/init.py", "tests/unit/init.py", "tests/integration/init.py", "research/trials.ipynb", "config/config.yaml", "dvc.yaml", "params.yaml", "init_setup.sh", "requirements.txt", "requirements_dev.txt", "setup.py", "setup.cfg", "pyproject.toml", "tox.ini", "research/trials.ipynb" ]

for filepath in list_of_files: filepath = Path(filepath) filedir, filename = os.path.split(filepath) if filedir != "": os.makedirs(filedir,exist_ok=True) logging.info(f"Creating directory: {filedir} for file:{filename}")

if (not os.path.exists(filepath)) or (os.path.getsize(filepath) == 0):
    with open(filepath, "w") as f:
        pass # create an empty file
        logging.info(f"Creating directory:{filedir}")

else:
    logging.info(f"{filename} already exists")

Folder structure code ends here

Tip!

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

About

No description

Collaborators 1

Comments

Loading...