7b270c7526d74355fcf27496ac8ee5878aaa1683,tensorflow_datasets/scripts/document_datasets.py,,make_statistics_information,#Any#,206

Before Change


  l.append(("ALL", info.num_examples))
  // Sort reverse on number of examples.
  l = reversed(sorted(l, key=lambda x: x[1]))
  l = "\n".join(["{0:10} | {1:>10,}".format(a[0], a[1]) for a in l])
  return STATISTICS_TABLE.format(split_statistics=l)

After Change


    stats.append((split_info.num_examples, split_name.upper()))
  // Sort reverse on number of examples.
  stats.sort(reverse=True)
  stats = "\n".join([
      "{0:10} | {1:>10,}".format(name, num_exs) for (num_exs, name) in stats
  ])
  return STATISTICS_TABLE.format(split_statistics=stats)


def dataset_docs_str():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 8

Instances


Project Name: tensorflow/datasets
Commit Name: 7b270c7526d74355fcf27496ac8ee5878aaa1683
Time: 2018-12-11
Author: rsepassi@google.com
File Name: tensorflow_datasets/scripts/document_datasets.py
Class Name:
Method Name: make_statistics_information


Project Name: open-mmlab/mmdetection
Commit Name: 1bd65a5779d0800e63ad87b1a141c905540942f5
Time: 2020-02-14
Author: yhcao6@gmail.com
File Name: tools/train.py
Class Name:
Method Name: main


Project Name: elbayadm/attn2d
Commit Name: 1c6679294848f303a361cba7b306b760e299bd9c
Time: 2019-09-30
Author: sarthak_garg@apple.com
File Name: interactive.py
Class Name:
Method Name: main


Project Name: deepfakes/faceswap
Commit Name: 5c17417d4d48afb07629d2dfe014cb4b46a736c7
Time: 2019-07-24
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/wrapper.py
Class Name: FaceswapControl
Method Name: capture_loss