Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
/ ai-env Public archive

automate creating an environment for artificial intelligence development

License

Notifications You must be signed in to change notification settings

SadeghPouriyanZadeh/ai-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ai-env

This repo guides you to create an environment for AI developement

Machine Learning environment

  1. Install Miniconda from here.

  2. Clone this repository.

git clone https://github.com/SadeghPouriyanZadeh/ai-env.git

  1. Open a terminal with conda "base" environment activated in the ai-env directory.

conda activate base

  1. Create "ml" environment using "ml_requirements.txt" file.

conda create --name ml --file ml_requirements.txt --channel conda-forge --channel anaconda --channel pytorch

  1. Clone "ml" environment for each project.

conda create --name newenv --clone ml

Deep Learning Environment

  1. Create a new conda environment e.g. "torch" and activate it:

conda create --name torch

conda activate torch

  1. Go to PyTorch installation page from here.

  2. Choose your "OS", "Package", and "Compute Platform" and copy the installation command.

for example:

This is for test

conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia

  1. Then install other recommended packages using "torch_requirements" file.

conda install --file torch_requirements.txt

About

automate creating an environment for artificial intelligence development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published