- act2vec, trace2vec, log2vec, model2vec https://link.springer.com/chapter/10.1007/978-3-319-98648-7_18
- apk2vec https://arxiv.org/abs/1809.05693
- app2vec http://paul.rutgers.edu/~qma/research/ma_app2vec.pdf
- author2vec http://dl.acm.org/citation.cfm?id=2889382
- bb2vec https://arxiv.org/pdf/1809.09621.pdf
- behavior2vec https://dl.acm.org/citation.cfm?id=3184454
- care2vec https://arxiv.org/abs/1812.00715
- cat2vec http://104.155.136.4:3000/forum?id=HyNxRZ9xg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CONTAINER_URI="gcr.io/deeplearning-platform-release/experimental.theia.1-7" | |
export INSTANCE_NAME=... | |
export PROJECT_NAME=... | |
export IMAGE_PROJECT="deeplearning-platform-release" | |
export IMAGE_FAMILY="theia-container-experimental" | |
export MACHINE_TYPE=... #"n1-standard-4" | |
export ZONE=... #"us-central1-a" | |
gcloud compute instances create "${INSTANCE_NAME}" \ | |
--project="${PROJECT_NAME}" \ | |
--zone="${ZONE}" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CONTAINER_URI="gcr.io/deeplearning-platform-release/experimental.theia.1-7" | |
export INSTANCE_NAME=... | |
export PROJECT_NAME=... | |
export IMAGE_PROJECT="deeplearning-platform-release" | |
export IMAGE_FAMILY="theia-container-experimental" | |
export MACHINE_TYPE=... #"n1-standard-4" | |
export ZONE=.... #"us-central1-a" | |
gcloud notebooks instances create "${INSTANCE_NAME}" \ | |
--project="${PROJECT_NAME}" \ | |
--location="${ZONE}" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy | |
from scipy.ndimage.interpolation import map_coordinates | |
from scipy.ndimage.filters import gaussian_filter | |
def elastic_transform(image, alpha, sigma, random_state=None): | |
"""Elastic deformation of images as described in [Simard2003]_. | |
.. [Simard2003] Simard, Steinkraus and Platt, "Best Practices for | |
Convolutional Neural Networks applied to Visual Document Analysis", in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
import json | |
SLACK_WEBHOOK= os.environ.get("SLACK_WEBHOOK") | |
def send_message(messages, channel="abhishek", username="beast"): | |
""" | |
:param messages: list of texts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an example for the CIFAR-10 dataset. | |
# There's a function for creating a train and validation iterator. | |
# There's also a function for creating a test iterator. | |
# Inspired by https://discuss.pytorch.org/t/feedback-on-pytorch-for-kaggle-competitions/2252/4 | |
from utils import plot_images | |
def get_train_valid_loader(data_dir, | |
batch_size, | |
augment, |