Skip to content

Instantly share code, notes, and snippets.

View Aditya1001001's full-sized avatar
🧠
Organizing information, finding patterns.

Aditya Singh Aditya1001001

🧠
Organizing information, finding patterns.
View GitHub Profile
@georgeblck
georgeblck / index.ipynb
Created November 20, 2019 13:08
Comparison of openCV Interpolation methods by Anthony Tanbakuchi (Backup because his site is down)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ferrine
ferrine / network_builder.py
Last active November 10, 2023 04:43
Pytorch models from yaml files
import torch.nn
import collections
class Builder(object):
def __init__(self, *namespaces):
self._namespace = collections.ChainMap(*namespaces)
def __call__(self, name, *args, **kwargs):
try:
return self._namespace[name](*args, **kwargs)