Skip to content

Instantly share code, notes, and snippets.

View glukicov's full-sized avatar
🤠
Focusing

Gleb Lukicov glukicov

🤠
Focusing
View GitHub Profile
gcloud compute machine-images create coffee-template \
--source-instance=gingerbread-latte
gcloud workbench instances create gingerbread-latte
gcloud workbench instances create cold-brew \
--machine-type=n1-highmem-32 \
--accelerator-type='NVIDIA_TESLA_T4' \
--accelerator-core-count=4 \
--install-gpu-driver \
--data-disk-size=500 \
--metadata=idle-timeout-seconds=3600
--metadata=notebook-upgrade-schedule="0 4 * * MON",post-startup-script=gs://my_coffee_basket/init.sh
gcloud workbench instances create new-gingerbread-latte \
--vm-image-name=coffee-template
pip install -r requirements.txt
matplotlib==3.1.3
scikit-learn==0.22
tensorflow==2.1.0
source ~/my_project/bin/activate
mkdir ~/my_project &&
cd ~/my_project &&
virtualenv my_project_env
pip install virtualenv