Skip to content

Instantly share code, notes, and snippets.

View ariG23498's full-sized avatar
🐢
Learning slowly

Aritra Roy Gosthipaty ariG23498

🐢
Learning slowly
View GitHub Profile
@ariG23498
ariG23498 / custom_callback_grads.ipynb
Last active September 26, 2020 05:44
Keras custom callback for obtaining gradients
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ariG23498
ariG23498 / GIF_gist.ipynb
Last active March 13, 2023 10:34
GIF gist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ariG23498
ariG23498 / gautam-roy-gosthipaty.ipynb
Last active November 16, 2020 13:28
Gautam Roy Gosthipaty
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ariG23498
ariG23498 / Docstring.ipynb
Last active November 10, 2020 11:11
Docstring parser
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ariG23498
ariG23498 / learn-yaml.py
Created November 16, 2020 13:24
Learning YAML syntax
import yaml
yaml_filename = 'learn.yaml'
yaml_file = open(yaml_filename)
p_yaml_file = yaml.load(yaml_file, Loader=yaml.FullLoader)
print(p_yaml_file)
@ariG23498
ariG23498 / decorator.ipynb
Last active November 18, 2020 04:28
Decorator with functions and classes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ariG23498
ariG23498 / attention_nmt.ipynb
Last active March 16, 2021 04:59
Attention_NMT
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ariG23498
ariG23498 / DDP_all.py
Last active March 29, 2021 18:18
DDP with wandb
# IMPORTS
import os
import wandb
import argparse
import numpy as np
from datetime import datetime
import torch
import torchvision
import torch.nn as nn