Skip to content

Instantly share code, notes, and snippets.

View richardhahahaha's full-sized avatar

Richard Chen richardhahahaha

View GitHub Profile
@wangg12
wangg12 / ResNeXt_pytorch.py
Created May 16, 2017 04:11 — forked from mjdietzx/ResNeXt_pytorch.py
pyt🔥rch implementation of ResNeXt
import torch
from torch.autograd import Variable
import torch.nn as nn
class Bottleneck(nn.Module):
cardinality = 32 # the size of the set of transformations
def __init__(self, nb_channels_in, nb_channels, nb_channels_out, stride=1):
super().__init__()