Skip to content

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Mar 23, 2018

Implements group normalization.

test/test_nn.py Outdated

This comment was marked as off-topic.

test/test_nn.py Outdated

This comment was marked as off-topic.

test/test_nn.py Outdated

This comment was marked as off-topic.

test/test_nn.py Outdated

This comment was marked as off-topic.

test/test_nn.py Outdated

This comment was marked as off-topic.

test/test_nn.py Outdated

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@ssnl
Copy link
Collaborator Author

ssnl commented Mar 23, 2018

cc @KaimingHe

This comment was marked as off-topic.

@ssnl
Copy link
Collaborator Author

ssnl commented Mar 23, 2018 via email

This comment was marked as off-topic.

@ssnl
Copy link
Collaborator Author

ssnl commented Mar 23, 2018 via email

@ezyang
Copy link
Contributor

ezyang commented Mar 23, 2018

Looks good, but I did not do a math check. @KaimingHe, maybe you can look at it?

@ssnl
Copy link
Collaborator Author

ssnl commented Mar 23, 2018

@ezyang Moved the code to ATen :). Now one of the tests runs 2x as fast. I should move LN and IN to Aten as well.

@ezyang
Copy link
Contributor

ezyang commented Mar 24, 2018

@pytorchbot retest this please

@ssnl ssnl force-pushed the gn branch 2 times, most recently from 163964d to 10ad9f8 Compare March 24, 2018 00:44
@KaimingHe
Copy link

Looks good for me.

@ezyang ezyang merged commit 08891b0 into pytorch:master Mar 24, 2018
@ssnl ssnl deleted the gn branch March 24, 2018 16:56
sighingnow added a commit to sighingnow/pytorch that referenced this pull request Mar 25, 2018
* upstream/master: (663 commits)
  Fix "command not found" error in perf test (pytorch#5982)
  add pip mkl-devel to the error message when mkl is found but mkl headers are not (pytorch#5984)
  Support batch LowerCholeskyTransform (pytorch#5980)
  Linearly interpolating upsampling fix (pytorch#5927)
  Store perf numbers in S3 (pytorch#5951)
  Modidy setup docs for Windows (pytorch#5981)
  Group Normalization (pytorch#5968)
  [distributions] Implement Power transform (pytorch#5976)
  Disable TestBottleneck test_cuda on Windows (pytorch#5977)
  Fix crash when cat-ing empty cuda tensors (pytorch#5971)
  Update no_unions flag for nanopb gen and update ONNX proto files (pytorch#5972)
  Expose gradients w.r.t. input & weight for conv1d, conv2d, conv3d in Python (pytorch#5408)
  Fixed non-determinate preprocessing on DataLoader (pytorch#4640)
  add AVX2 implementation for sigmoid function (pytorch#5010)
  Implement torch.util.bottleneck (pytorch#5216)
  Remove pragma once from cpp file (pytorch#5965)
  fix mvn docs (pytorch#5967)
  Fix incorrect rendering of Tensor.index_*_ doc examples. (pytorch#5969)
  Implement range for loop in script (pytorch#5827)
  Add windows doc (pytorch#5859)
  ...

# Conflicts:
#	aten/src/TH/generic/THTensorMath.c
#	torch/_tensor_docs.py
#	torch/csrc/generic/methods/TensorCompare.cwrap
@ppwwyyxx
Copy link
Collaborator

BTW I was able to reproduce our ImageNet experiments in Pytorch.
I used fewer augmentations (those in official pytorch examples) than our original experiments, and got 24.1 and 24.2 val error in two runs. The number reported in the paper is 24.0~24.2.

@soumith
Copy link
Contributor

soumith commented Apr 23, 2018

@ppwwyyxx that's awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants