Code Monkey home page Code Monkey logo

mlops-sandbox's Introduction

Below is commands for how to create and manage a python virtual environment.

mkdir sandbox cd sandbox

Create venv

python -m venv sandboxvenv # tells python to create a venv named sandboxvenv

To activate venv (mac, standing in dir)

source sandboxvenv/bin/activate

To deactivate venv (mac, and not conda envs)

deactivate

To activate CONDA base venv in mac

source activate base

To deactivate CONDA

conda deactivate

run requirements file, located in dir.

pip install -r requirements.txt

VS CODE

cmd + shift + p = search command palette cmd + p = searh files cmd + t = search functions

Copilot chat

"New chat in sidebar" is available from the command palettec

Too many loose objects warning

You can clean up these loose objects by running the following commands:

The git gc command runs a number of housekeeping tasks within the repository, such as compressing file revisions (to reduce disk space and increase performance) and removing unreachable objects which may have been created from prior invocations of git add.

The git repack command is used to combine all objects that do not currently reside in a "pack", into a pack. It can greatly reduce the disk space of your repository.

After running these commands, you should remove the .git/gc.log file as suggested by the warning message:

Please make sure to backup your work before running these commands

mlops-sandbox's People

Contributors

joelbengs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.