Skip to content

Latest commit

 

History

History

devenv

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Development Environment

Create a Conda Environment

Clean your environment and packages

conda clean --all
conda env create -f devenv/environment.yaml

or install the packages manually

conda create -n thetensorclan-aws python=3.7
conda install pytorch torchvision cudatoolkit=10.2 torchtext torchaudio -c pytorch
conda install -c anaconda flask boto3 flask-cors
conda install -c conda-forge dlib opencv spacy ffmpeg-python
pip install onnxruntime SoundFile

Notes

exporting environment

conda env export --no-builds > devenv/environment.yml

use black for formatting code

pip install black

follow this guide: https://black.readthedocs.io/en/stable/editor_integration.html