From 1af430265840648e9ba22b43b0e5564eac80319c Mon Sep 17 00:00:00 2001 From: hobogalaxy Date: Mon, 16 Nov 2020 04:47:22 +0100 Subject: [PATCH] add pycharm setup section to readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 5422224..70eaf67 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,24 @@ https://pytorch.org/get-started/locally/ pip install -r requirements.txt ``` +### PyCharm set up +- open this repository as PyCharm project +- set "hack_env" as project interpreter:
+`Ctrl + Shift + A -> type "Project Interpreter"` +- mark folder "project" as sources root:
+`right click on directory -> "Mark Directory as" -> "Sources Root"` +- set terminal emulation:
+`Ctrl + Shift + A -> type "Edit Configurations..." -> select "Emulate terminal in output console"` + + ### Important notes! - If you are not using GPU (CUDA incompatible GPU) you may need to specify the number of GPUs manually instead of leaving the default `-1` in `config.yaml`: ``` num_of_gpus: 0 ``` + + ### Useful tips - Useful pl.Trainer() parameters: - gpus=-1 - use all gpus available on your machine