Skip to content

Instantly share code, notes, and snippets.

View 10dimensions's full-sized avatar
🎯
Focusing

10dimensions

🎯
Focusing
  • Bangalore, India
View GitHub Profile
@10dimensions
10dimensions / aws-amplify-configure.js
Created July 10, 2021 14:57 — forked from praveen001/aws-amplify-configure.js
Passwordless Phone number authentication using AWS Amplify and Cognito
import Amplify, { Auth } from 'aws-amplify';
Amplify.configure({
Auth: {
region: 'us-east-1',
userPoolId: '**********',
userPoolWebClientId: '******************',
}
});
@10dimensions
10dimensions / fill_depth_colorization.py
Created January 5, 2021 15:20 — forked from ialhashim/fill_depth_colorization.py
Python implementation of depth filling from NYU Depth v2 toolbox
# Original Matlab code https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html
#
#
# Python port of depth filling code from NYU toolbox
# Speed needs to be improved
#
# Uses 'pypardiso' solver
#
import scipy
import skimage
@10dimensions
10dimensions / array.py
Created October 3, 2019 06:25 — forked from PulkitS01/array.py
Introduction to PyTorch
# initializing two arrays
a = np.array(2)
b = np.array(1)
print(a,b)