Skip to content

Instantly share code, notes, and snippets.

View QiuJueqin's full-sized avatar
🐢
Focusing

Qiu Jueqin QiuJueqin

🐢
Focusing
View GitHub Profile
@etienne87
etienne87 / torch_bilateral_gray.py
Created March 22, 2018 07:51
how to make a bilateral filter using torch
#!/usr/bin/python
# torch_bilateral: bi/trilateral filtering in torch
import torch
from torch import nn
from torch.autograd import Variable
import torch.nn.functional as F
from torch.nn import Parameter
import numpy as np
import pdb
import time