This file contains 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
# installing git-lfs | |
apt-get install git-lfs | |
# installing pytorch image models | |
pip install kaggle timm==0.6.2.dev0 fastkaggle |
This file contains 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 random | |
def find_pairs(M1, M2, val): | |
s =list() | |
for i in range(0,1000000): | |
s.append(M1[i]) | |
diff = {1000000 -n:n for n in M1} | |
pairs = [] | |
# diff = [] | |
# for i in range(0,1000000): |
This file contains 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
M1 = [] | |
M2 = [] | |
def find_pairs(M1, M2, val): | |
s =set() | |
for i in range(0,1000000): | |
s.add(M1[i]) | |
for j in range(0,1000000): | |
if((val-M1[j]) in s): |
This file contains 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
[NbConvertApp] Converting notebook __notebook__.ipynb to notebook | |
[NbConvertApp] Executing notebook with kernel: python3 | |
2020-04-25 02:07:01.976986: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX512F | |
2020-04-25 02:07:01.998346: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2000175000 Hz | |
2020-04-25 02:07:02.000270: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5610c4dfcb60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: |
This file contains 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
{"model": "Tacotron2", "run_name": "ljspeech-graves", "run_description": "tacotron2 wuth graves attention", "audio": {"num_mels": 80, "num_freq": 1025, "sample_rate": 22050, "frame_length_ms": 50, "frame_shift_ms": 12.5, "preemphasis": 0.98, "min_level_db": -100, "ref_level_db": 20, "power": 1.5, "griffin_lim_iters": 60, "signal_norm": true, "symmetric_norm": true, "max_norm": 4, "clip_norm": true, "mel_fmin": 0.0, "mel_fmax": 8000.0, "do_trim_silence": true}, "reinit_layers": [], "batch_size": 32, "eval_batch_size": 8, "r": 7, "gradual_training": [[0, 7, 64], [1, 5, 64], [50000, 3, 32], [130000, 2, 32], [290000, 1, 32]], "loss_masking": true, "run_eval": true, "test_delay_epochs": 10, "test_sentences_file": null, "noam_schedule": false, "grad_clip": 1, "epochs": 2, "lr": 0.0001, "wd": 1e-06, "warmup_steps": 4000, "memory_size": -1, "prenet_type": "original", "prenet_dropout": true, "attention_type": "original", "attention_heads": 5, "attention_norm": "sigmoid", "windowing": false, "use_forward_attn": false, |
This file contains 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
## coz | |
- first year contribution( | |
- NODE.js + GITHUB | |
- MOZILLA regional sprints | |
- | |
This file contains 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
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(inhibit-startup-screen t)) | |
(custom-set-faces | |
;; custom-set-faces was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. |
This file contains 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
(define-skeleton insert-org-entry | |
"Prompt for task, estimate and category" | |
nil | |
'(setq task (skeleton-read "Task: ")) | |
'(setq estimate (skeleton-read "Estimate: ")) | |
'(setq category (skeleton-read "Category: ")) | |
'(setq timestamp (format-time-string "%s")) | |
"** " task \n | |
":PROPERTIES:" \n | |
":ESTIMATED: " estimate \n |
This file contains 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
Loading 00debian-vars...done | |
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done | |
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... | |
Loading debian-ispell... | |
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done | |
Loading debian-ispell...done | |
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done | |
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done | |
Loading /etc/emacs/site-start.d/50festival.el (source)...done | |
For information about GNU Emacs and the GNU system, type C-h C-a. |
This file contains 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 cv2 | |
import numpy as np | |
cap = cv2.VideoCapture(0) | |
while(1): | |
# Take each frame | |
_, frame = cap.read() |
NewerOlder