Skip to content

Commit 7269556

Browse files
Ryan Sepassicopybara-github
authored andcommitted
Ignore diffs/ when downloading from GCS
PiperOrigin-RevId: 291079915
1 parent f3264bc commit 7269556

File tree

430 files changed

+442
-431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

430 files changed

+442
-431
lines changed

oss_scripts/oss_pip_install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ then
1313
echo "Using installed ffmpeg"
1414
else
1515
echo "Installing ffmpeg"
16-
sudo add-apt-repository -y ppa:mc3man/trusty-media
16+
sudo add-apt-repository -y ppa:jonathonf/ffmpeg-4
1717
sudo apt-get update -qq
1818
sudo apt-get install -qq -y ffmpeg
1919
fi
2020

21+
# Required for opencv2
22+
sudo apt-get install -qq -y libsm6
23+
2124
install_tf "$TF_VERSION"
2225

2326
# Beam requires Python header files for Python3 during YAML compilation

oss_scripts/oss_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ docs/_index.ipynb
7474
function test_notebook() {
7575
local notebook=$1
7676
create_virtualenv tfds_notebook $PY_BIN
77-
pip install -q jupyter ipykernel
77+
# Pinning ipykernel to avoid https://github.com/ipython/ipykernel/issues/422
78+
pip install -q jupyter "ipykernel==5.1.1"
7879
ipython kernel install --user --name tfds-notebook
7980
jupyter nbconvert \
8081
--ExecutePreprocessor.timeout=600 \

tensorflow_datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

tensorflow_datasets/audio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

tensorflow_datasets/audio/groove.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

tensorflow_datasets/audio/groove_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

tensorflow_datasets/audio/librispeech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

tensorflow_datasets/audio/librispeech_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

tensorflow_datasets/audio/nsynth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

tensorflow_datasets/audio/nsynth_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding=utf-8
2-
# Copyright 2019 The TensorFlow Datasets Authors.
2+
# Copyright 2020 The TensorFlow Datasets Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)