diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..644f61c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 4 +tab_width = 4 +# end_of_line = crlf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = false + +[*.{yml,yaml}] +indent_size = 2 +tab_width = 2 +insert_final_newline = true diff --git a/.vscode/settings.json b/.vscode/settings.json index a6a427b..2dc7233 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,10 +2,12 @@ "cSpell.words": [ "callsh", "chdir", + "conda", "cpuset", "endgroup", "kaggle", "lvyufeng", + "marvinpinto", "namiyousef", "returncode", "rmarkdown" diff --git a/README.md b/README.md index f78df32..ddf3172 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,9 @@ For free users, kaggle will provide more than 30 hours of GPU usage per week, wh callsh(['git', 'clone', 'https://github.com/name/repo_name']) os.chdir('repo_name') callsh(['bash', 'scripts/setup.sh']) + callsh(['conda', 'create', '-n', 'testenv', 'python=3.8.12', 'cudatoolkit=9.2', 'cudnn', '-y']) + callsh(['/opt/conda/envs/testenv/bin/pip', 'install', '-r', 'requirements.txt']) + callsh(['/opt/conda/envs/testenv/bin/pytest', 'tests']) # ...... ```