Skip to content

Instantly share code, notes, and snippets.

@MachineLearningIsEasy
MachineLearningIsEasy / Seq2Seq_with_pytorch.ipynb
Created October 12, 2020 11:05
Create and train seq2seq model with pytorch
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MachineLearningIsEasy
MachineLearningIsEasy / Satellite_images_example.ipynb
Created September 11, 2020 11:47
Download satellite images from sentelhub
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MachineLearningIsEasy
MachineLearningIsEasy / ML_osmnx_part_2.ipynb
Created July 3, 2020 11:45
Regression example with geo coordinate and text as features of a machine learning model. Part 2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MachineLearningIsEasy
MachineLearningIsEasy / ML_osmnx.ipynb
Created June 26, 2020 19:40
Regression example with geo coordinate as features of a machine learning model. Part 1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MachineLearningIsEasy
MachineLearningIsEasy / osmnx_example.ipynb
Created June 19, 2020 09:58
Example using osmnx on dataset airbnb NY 2019
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Инструкция по настройке Django-приложения на сервере
1. Подключаем услугу VPS c операционной системой Ubuntu (например, на reg.ru).
2. Проверяем подключение по SSH (в терминале: ssh root@ip).
3. Проверяем подключение по ftp (выбираем ftp-клиента исходя из своей операционной системы и вкуса).
4. Устанавливаем нужную версию интерпретатора python согласно инструкции через ssh.
https://tecadmin.net/install-python-3-8-ubuntu/
@MachineLearningIsEasy
MachineLearningIsEasy / Titanic.ipynb
Created March 30, 2020 13:42
Sklearn and pandas example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MachineLearningIsEasy
MachineLearningIsEasy / command_list
Created March 24, 2020 07:52
Tensorflow serving example
• mkdir /tmp/resnet
– создаем дирректорию.
• curl -s https://storage.googleapis.com/download.tensorflow.org/models/official/20181001_resnet/savedmodels/resnet_v2_fp32_savedmodel_NHWC_jpg.tar.gz | tar --strip-components=2 -C /tmp/resnet -xvz
- копируем архив с моделью по ссылке в созданную директорию и разархивируем его.
• docker pull tensorflow/serving
- загружаем docker образ с tensorflow serving.
• docker run -p 8501:8501 --name tfserving_resnet \
--mount type=bind,source=/tmp/resnet,target=/models/resnet \
-e MODEL_NAME=resnet -t tensorflow/serving &
- монтируем контейнер из загруженного образа с доступом через порт 8501